ReDoc documentation

products/{sku}

products/{sku}

put/V1/products/{sku}

Create product

Request
path Parameters
sku
required
string
Request Body schema:
required
object (catalog-data-product-interface)
saveOptions
boolean
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "product": {
    },
  • "saveOptions": true
}
Response samples
{
  • "id": 0,
  • "sku": "string",
  • "name": "string",
  • "attribute_set_id": 0,
  • "price": 0,
  • "status": 0,
  • "visibility": 0,
  • "type_id": "string",
  • "created_at": "string",
  • "updated_at": "string",
  • "weight": 0,
  • "extension_attributes": {
    },
  • "product_links": [
    ],
  • "options": [
    ],
  • "media_gallery_entries": [
    ],
  • "tier_prices": [
    ],
  • "custom_attributes": [
    ]
}

products/{sku}

delete/V1/products/{sku}
Request
path Parameters
sku
required
string
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
true

products/{sku}

get/V1/products/{sku}

Get info about product by product SKU

Request
path Parameters
sku
required
string
query Parameters
editMode
boolean
forceReload
boolean
storeId
integer
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
{
  • "id": 0,
  • "sku": "string",
  • "name": "string",
  • "attribute_set_id": 0,
  • "price": 0,
  • "status": 0,
  • "visibility": 0,
  • "type_id": "string",
  • "created_at": "string",
  • "updated_at": "string",
  • "weight": 0,
  • "extension_attributes": {
    },
  • "product_links": [
    ],
  • "options": [
    ],
  • "media_gallery_entries": [
    ],
  • "tier_prices": [
    ],
  • "custom_attributes": [
    ]
}