Create a product

A duplicate SKU for the organization returns 400 duplicate_sku.

Authentication

x-api-keystring
API Key authentication via header

Request

This endpoint expects an object.
namestringRequired1-255 characters
priceUsdstringRequiredformat: "^\d+(\.\d{1,2})?$"
skustringRequired1-100 characters
descriptionstringOptional<=5000 characters
imageUrlstringOptionalformat: "uri"
acceptedNetworksTokenslist of objectsOptional
metadatamap from strings to anyOptional

Response

Created
idstringformat: "uuid"
organizationIdstringformat: "uuid"
namestring
descriptionstring or null
imageUrlstring or null
priceUsdstring
Decimal string, 2dp
skustring
creationSourceenum
statusenum
createdAtdatetime
updatedAtdatetime
acceptedNetworksTokenslist of maps from strings to any or nullOptional
metadatamap from strings to any or nullOptional

Errors

400
Bad Request Error
401
Unauthorized Error