API referenceCampaigns
Create
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
campaignId*string
Length
1 <= lengthname*string
Length
1 <= length <= 120sku?string
Length
length <= 60description?string
Length
length <= 2000imageUrl?string
Format
uriunitLabel?string
Length
1 <= length <= 40stockTotal?integer
Range
0 <= value <= 9007199254740991active?boolean
sort?integer
Range
-9007199254740991 <= value <= 9007199254740991Response Body
application/json
curl -X POST "https://example.com/campaigns/products/create" \ -H "Content-Type: application/json" \ -d '{ "campaignId": "string", "name": "string" }'null