The canonical field names for the Harmonized System code fields are
hs_base_code (“Harmonized System Code”) and
hs_country_extension (“HS Code Extensions”). The legacy hts_base_code and hts_country_code field names remain
accepted as input aliases indefinitely, and responses include both the canonical and legacy keys for backwards
compatibility. If both a legacy alias and its canonical hs_* field are supplied in the same request, the canonical
hs_* value wins. See Product Properties for details.Methods
Entity Properties
product.search
product.search(null|object $filters = null, null|array $options = null)
Retrieve list of products with basic info (id, sku, type, set, name).
Parameters
null | object
null- Retrieve list of all products.object- Retrieve list of products using specified Search Filters. Allowed properties for filtering: “sku”, “vendor_sku”, “manufacturer_part_number”, “status”, “availability”, “visibility”, “created_at”, “updated_at”, “external_id”.
null | array
null- No options will be applied.object- Apply specified Search Options.
Return Value
An array of objects. Each object will contain Product Properties.Example Request
Get product information for one product SKU:Request
Example Response
Response
Error Codes
product.create
product.create (string $sku, object $productData)
Create new product.
Parameters
string
Product SKU.
object
Product data.
Return Value
true if product was successfully created.
Example Request
Request
Example Response
Response
Error Codes
product.info
product.info (string $sku)
Retrieve product info.
Parameters
string
Product SKU.
Return Value
Object with Product Properties.Example Request
Request
Example Response
Response
Error Codes
product.update
product.update (string $sku, object $productData)
Update product data.
Parameters
string
Product SKU.
object
Product data.
Return Value
true if product was successfully updated.
Example Request
Request
Example Response
Response