curl --request POST \ --url https://api.production.orderprotection.com/v2/products \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "productId": "123456", "status": "ACTIVE", "variantId": "123456", "name": "123456", "description": "This product is super awesome and will solve all of your problems", "sku": "123456", "price": 22.22, "tax": "123456", "inventoryType": "FULL", "inventoryQuantity": "123456", "productImage": "https://somedomain.com/image.png", "productType": "This is the type of product. Can be SIMPLE or GROUPED", "inStock": true, "bundleProductIds": [ "product-id-1", "product-id-2" ]}'
Copy
Ask AI
{ "status": "ok"}
Products
Create Product
Create a new product
POST
/
v2
/
products
Create Product children
Copy
Ask AI
curl --request POST \ --url https://api.production.orderprotection.com/v2/products \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "productId": "123456", "status": "ACTIVE", "variantId": "123456", "name": "123456", "description": "This product is super awesome and will solve all of your problems", "sku": "123456", "price": 22.22, "tax": "123456", "inventoryType": "FULL", "inventoryQuantity": "123456", "productImage": "https://somedomain.com/image.png", "productType": "This is the type of product. Can be SIMPLE or GROUPED", "inStock": true, "bundleProductIds": [ "product-id-1", "product-id-2" ]}'