Body
Required
-
resellerId
integer(int32) Required Reseller
-
trigger
string | null Trigger
Values are
manual
orsaleItem
. -
variantId
integer(int32) Required Variant
POST
/reseller-variants.json
curl \
--request POST 'http://api.example.com/v1/reseller-variants.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"resellerId":42,"trigger":"manual","variantId":42}'
Request examples
{
"resellerId": 42,
"trigger": "manual",
"variantId": 42
}
Response examples (200)
{
"createdAt": "2025-05-04T09:42:00Z",
"id": 42,
"resellerId": 42,
"trigger": "manual",
"updatedAt": "2025-05-04T09:42:00Z",
"variantId": 42
}