ReDoc documentation

products

products

post/V1/products

Create product

Request
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

get/V1/products

Get product list

Request
query Parameters
searchCriteria[currentPage]
integer

Current page.

searchCriteria[filterGroups][0][filters][0][conditionType]
string

Condition type

searchCriteria[filterGroups][0][filters][0][field]
string

Field

searchCriteria[filterGroups][0][filters][0][value]
string

Value

searchCriteria[pageSize]
integer

Page size.

searchCriteria[sortOrders][0][direction]
string

Sorting direction.

searchCriteria[sortOrders][0][field]
string

Sorting field.

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

Response samples
{
  • "items": [
    ],
  • "search_criteria": {
    },
  • "total_count": 0
}