API referenceCampaigns
Set
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
riderId*string
Length
1 <= lengthproductId*string
Length
1 <= lengthcount*integer
Range
0 <= value <= 9007199254740991capacity*integer
Range
0 <= value <= 9007199254740991Response 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