coupon_code_transaction

Collection: coupon_code_transactions

This resource is a historical record for every transaction which has used a specific coupon code. It contains link relationships to the coupon code used and the transaction it was used with.

Required Scopes

Full store_full_access
Read coupons_read
Write coupons_write

Actions

GET View a coupon code transaction
HEAD Get just the header response
OPTIONS Get a response explaining which HTTP methods are supported

Properties (2)

date_created String (nullable) · Read-only

The date this resource was created.

date_modified String (nullable) · Read-only

The date this resource was last modified.

Link Relations (5)

self Coupon Code Transaction Relationship
fx:store GET PATCH PUT DELETE This Store
fx:transaction GET PATCH PUT POST This Transaction
fx:coupon GET PATCH PUT DELETE This Coupon
fx:coupon_code GET PATCH PUT DELETE This Coupon Code
https://api.foxycart.com/coupon_code_transactions/{id}

Example Representation

{
  "_links": {
    "curies": [
      {
        "name": "fx",
        "href": "https://api.foxycart.com/rels/{rel}",
        "templated": true
      }
    ],
    "self": {
      "href": "https://api.foxycart.com/coupon_code_transactions/123",
      "title": "Coupon Code Transaction Relationship"
    },
    "fx:store": {
      "href": "https://api.foxycart.com/stores/456",
      "title": "This Store"
    },
    "fx:transaction": {
      "href": "https://api.foxycart.com/transactions/999",
      "title": "This Transaction"
    },
    "fx:coupon": {
      "href": "https://api.foxycart.com/coupons/999",
      "title": "This Coupon"
    },
    "fx:coupon_code": {
      "href": "https://api.foxycart.com/coupon_codes/999",
      "title": "This Coupon Code"
    }
  },
  "date_created": "2015-04-27T13:42:55-0700",
  "date_modified": "2015-04-27T13:42:55-0700"
}