v1

latestOpenAPI 3.1.02026-07-24920300.7 KB

Retrieve

Returns a single order by its unique one time incentive identifier.

get/one_time_incentives/{one_time_incentive_id}/

Path parameters

one_time_incentive_idstring required

Unique one-time incentive id

Response

200

public_idstring
external_codestring
descriptionstring
merchantstring
customerstring
orderstring
createdstring
last_updatedstring
applied_atstring

Example response

{
  "public_id": "8637c3fe9b7011eaa2c1bc764e107990",
  "external_code": "awesome_discount",
  "description": "One-time Incentive",
  "merchant": "ac4f7938383a11e89ecbbc764e1107f2",
  "customer": "00026001",
  "order": "c4e05d04ccc411e8ada3bc764e101db1",
  "created": "2020-05-21 09:36:57",
  "last_updated": "2020-05-21 09:36:57",
  "incentive": {
    "type": "Discount",
    "public_id": "c34a8c03eae641d0ab7015bedec6fbd0",
    "discount_type": "Discount Percent",
    "target": "item",
    "field": "total_price",
    "name": "awesome discount",
    "value": "10.00"
  },
  "applied_at": "2020-05-21 09:36:57"
}