v1

GET /v1/crm/discounts/{id}/

Request

  • Base URL
    https://api.yume.cloud
  • URL
    https://api.yume.cloud/v1/crm/discounts/{id}/
  • Auth
    HTTP bearer

Path parameters

idinteger required

Response

idinteger required
created_atstring date-time required
updated_atstring date-time required
namestring required
discountinteger
start_atstring date-time nullable
end_atstring date-time nullable
type0 | 1 | 2
  • 0 - Скидка
  • 1 - Промокод
  • 2 - Сумма
discount_type0 | 1
  • 0 - Процент
  • 1 - Сумма
promocodestring nullable
usage_limitinteger
extraunknown
activeboolean
deletedboolean
tenantinteger
created_byinteger nullable

Changes

No recorded changes to this operation across all 4 revisions of this API.