Compensation
Was this helpful?
Was this helpful?
Compensation
List Compensation reasons
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a compensation.
^[A-Za-z0-9-_]+
Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
ENUM | Description |
---|---|
ASC | Sort in ascending order |
DESC | Sort in descending order |
Example response
Get Compensation reason details
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a compensation.
^[A-Za-z0-9-_]+
Reference to a compensation reason.
^[A-Za-z0-9-_]+
productUid refers to the product that is added to an order when this compensation reason is added to the order. limit is the amount of total compensations on an order. Returns a warning if limit is exceeded.
Example response
Delete a Compensation reason
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a compensation.
^[A-Za-z0-9-_]+
Reference to a compensation reason.
^[A-Za-z0-9-_]+
No Content
No Content
List compensations
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
ENUM | Description |
---|---|
ASC | Sort in ascending order |
DESC | Sort in descending order |
Example response
Update compensation details
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a compensation.
^[A-Za-z0-9-_]+
When an order is marked with a compensation with this field set to true, the order must have order lines referring to a settled sale
Example response
Add a compensation reason
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a compensation.
^[A-Za-z0-9-_]+
productUid refers to the product that is added to an order when this compensation reason is added to the order. limit is the amount of total compensations on an order. Returns a warning if limit is exceeded.
^[A-Za-z0-9-_]*
productUid refers to the product that is added to an order when this compensation reason is added to the order. limit is the amount of total compensations on an order. Returns a warning if limit is exceeded.
Example response
Update compensation reason details
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a compensation.
^[A-Za-z0-9-_]+
Reference to a compensation reason.
^[A-Za-z0-9-_]+
productUid refers to the product that is added to an order when this compensation reason is added to the order. limit is the amount of total compensations on an order. Returns a warning if limit is exceeded.
^[A-Za-z0-9-_]*
productUid refers to the product that is added to an order when this compensation reason is added to the order. limit is the amount of total compensations on an order. Returns a warning if limit is exceeded.
Example response