product

product.child_item.list

Get a list of a product's child items, such as variants or bundle components. The total_count field in the response indicates the total number of items in the context of the current filter.

get/product.child_item.list.json

Request

  • Base URL: https://api.api2cart.com/v1.1
  • URL: https://api.api2cart.com/v1.1/product.child_item.list.json
  • Auth: API key in header x-api-key and API key in header x-store-key

Query parameters

startinteger

This parameter sets the number from which you want to get entities

countinteger

This parameter sets the entity amount that has to be retrieved. Max allowed count=250

page_cursorstring

Used to retrieve products child items via cursor-based pagination (it can't be used with any other filtering parameter)

product_idstring

Filter by parent product id

product_idsstring

Filter by parent product ids

skustring

Filter by products variant's sku

store_idstring

Store Id

lang_idstring

Language id

currency_idstring

Currency Id

avail_saleboolean

Specifies the set of available/not available products for sale

find_valuestring

Entity search that is specified by some value

find_wherestring

Child products search that is specified by field

created_fromstring

Retrieve entities from their creation date

created_tostring

Retrieve entities to their creation date

modified_fromstring

Retrieve entities from their modification date

modified_tostring

Retrieve entities to their modification date

return_globalboolean

Determines the type of products to be returned. If set to 'true', only global products will be returned; if set to 'false', only local products will be returned.

response_fieldsstring

Set this parameter to choose which entity fields to retrieve. Use comma-separated field names in curly braces, nested to match the response structure, e.g. {result{product{id,name}}}. The wildcard * returns every field at a level: {} gives the whole response, {result{product{}}} all product fields.

paramsstring

Important! Parameter deprecated, use response_fields instead. Set this parameter in order to choose which entity fields you want to retrieve

excludestring

Important! Parameter deprecated, use response_fields instead. Set this parameter in order to choose which entity fields you want to ignore. Works only if parameter params equal force_all

report_request_idstring

Report request id

disable_report_cacheboolean

Disable report cache for current request

use_latest_api_versionboolean

Use the latest platform API version

Response

successful operation

return_codeinteger nullable
return_messagestring nullable
additional_fieldsobject nullable
custom_fieldsobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.