latestOpenAPI 3.0.02026-08-12207455917.9 KB
bad0d2db9b7a
V2 Sale Commissions
Add commissions (V2)
Adds commissions to the specified sale, using V2 managed fields.
Validation & Requirements
Required Parameters
- saleGuid (path, string, format=guid)
- form (body, object)
Required JSON Body Fields
- None
Validations
- Invalid GUID values in *Guid/*Guids fields return 422 Unprocessable Entity.
- Invalid date values in *date* fields return 422 Unprocessable Entity.
- Missing required request body returns 422 Unprocessable Entity with Missing request body..
- Additional business-rule validation may return 422 with details in the errors array.
- Commission percentages must be between 0 and 100, and commission amounts cannot be negative.
- Each commission entry must be percent or amount, not both.
post/api/v2/files/sales/{saleGuid}/commissions
Path parameters
saleGuidstring guid required
GUID of the sale you want to add commissions to.