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- Retrieve list of all products.object- Retrieve list of products using specified Search Filters. Allowed properties for filtering: “sku”, “vendor_sku”, “status”, “availability”, “visibility”, “created_at”, “updated_at”, “external_id”.
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
Product SKU.
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
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
Product SKU.
Product data.
Return Value
true if product was successfully updated.
Example Request
Request
Example Response
Response