Get a list of promotion assignments.
GET
/promotions/assignments
200Roles
At least one of the roles below is required to access this endpoint.
FullAccessPromotionAdminPromotionReader
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
buyerID | string | ID of the buyer. | --- | |
promotionID | string | ID of the promotion. | --- | |
userID | string | ID of the user. | --- | |
userGroupID | string | ID of the user group. | --- | |
level | string | Level of the promotion assignment. Possible values: User, Group, Company. | User, Group, Company | |
page | integer | Page of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation. | --- | |
pageSize | integer | Number of results to return per page. Default: 20, max: 100. | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
Items | array | --- | --- | --- | ||
Meta | object | --- | --- | --- | ||