Create products

Create products via this API. Type id can be simple or configurable.

Children of configurable products should have a visibility of 1 and type _id of simple. source_code is the code (see source list in Omnyfy) of source used by the vendor. You can leave out vendor_id if using vendor token. Status can be 1 (enabled), 2 (disabled) and 3 (out of stock). Please use the field “variant_skus” to provide all child product SKUs for the configurable (parent) product.
2. Please use the field “super_attribute_codes” to provide all attributes (example, colour, size etc) that are used to link child product SKUs to the configurable (parent) product.
3. Please provide values in each child product for attributes in parent product in point 2 above where 4763 is the code for the colour of that child product.
Example - {"attribute_code": "color", "value": 4763}
4. Please use the field “type_id”. Value will be “configurable” for parent product and “simple” for child products.
5. Please use the field “visibility”.Value will be 4 for parent product and 1 for child products.
6. See Response samples - items from above points are provided. You do not need to send the child products in the same payload.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
items
array of objects
required
items*
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json