POST
/
catalog
/
products
curl --request POST \
  --url https://services.commercengine.dev/api/v1/x2yh61zw4k/admin/catalog/products \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "product_type": "physical"
}'
{
  "message": "<string>",
  "success": true,
  "content": {
    "product": {
      "id": "<string>",
      "name": "<string>",
      "product_type": "physical"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Create draft product

name
string
required
product_type
enum<string>
required
Available options:
physical,
digital,
bundle

Response

200 - application/json
OK
message
string
success
boolean
content
object