Body
Required
audit
object | array | boolean | integer | number | string Required Audit
-
saleItemId
integer(int32) Required Sale item
-
variantId
integer(int32) Required Variant
POST
/sale-item-commissions.json
curl \
--request POST 'http://api.example.com/v1/sale-item-commissions.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"audit":{},"saleItemId":42,"variantId":42}'
Request examples
{
"audit": {},
"saleItemId": 42,
"variantId": 42
}
Response examples (200)
{
"audit": {},
"createdAt": "2025-05-04T09:42:00Z",
"id": 42,
"saleItemId": 42,
"updatedAt": "2025-05-04T09:42:00Z",
"variantId": 42
}