Trialmile docs
API referenceCampaigns

Set

POST
/campaigns/riders/inventory/set

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

riderId*string
Length1 <= length
productId*string
Length1 <= length
count*integer
Range0 <= value <= 9007199254740991
capacity*integer
Range0 <= value <= 9007199254740991

Response Body

application/json

curl -X POST "https://example.com/campaigns/riders/inventory/set" \  -H "Content-Type: application/json" \  -d '{    "riderId": "string",    "productId": "string",    "count": 0,    "capacity": 0  }'
null