Discount
List all discounts
Changed onLists all available discounts. The parameters can be used to filter the results.
get/channel/v1/discounts
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
codestring
Discount code
countinteger
Number of results to fetch. Used for paging.
sortField'APPLICATION' | 'CHANNEL' | 'CODE' | 'CREATED_ON' | 'END_DATE' | 'REDEMPTIONS' | 'START_DATE'
Sort field. Default value is creation date.
sortOrder'ASC' | 'DESC'
Sort order. Default value is ascending.
startinteger
First result index. Used for paging.
Response
OK
Changes
- info
endpoint added
- info