Get discount code analytics

post/api/gpt/get_discounts

Request

  • Base URL: https://datapulse.app
  • URL: https://datapulse.app/api/gpt/get_discounts
  • Auth: HTTP bearer

Request body

report'summary' | 'top_codes' | 'code_details' required
startDatestring
endDatestring
codestring

For code_details: the discount code

limitinteger
sortBy'revenue' | 'usage' | 'discount'

Response

Discount analytics

Changes

No recorded changes to this operation across all 1 revision of this API.