{
  "opencollection": "1.0.0",
  "info": {
    "name": "BigCommerce Abandoned Cart Emails Checkout Gift Certificates API",
    "version": "3.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Auth-Token",
      "value": "{{X-Auth-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Checkout Gift Certificates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "BigCommerce Add Gift Certificate to Checkout",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bigcommerce.com/stores/{store_hash}/v3/checkouts/:checkoutId/gift-certificates",
            "params": [
              {
                "name": "checkoutId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds a *Gift Certificate Code* to *Checkout*.\n\n> #### Note\n> * *Gift Certificates* are treated as a payment methods.\n> * You are not able to purchase a gift certificate with a gift certificate.\n> * The rate limit is 20/hour (only for unique gift-certificate codes).\n> * Substitute your storefront domain for `yourstore.example.com`. \n> * The Send a Test Request feature is not currently supported for this endpoint.  "
        },
        {
          "info": {
            "name": "BigCommerce Delete Gift Certificate",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.bigcommerce.com/stores/{store_hash}/v3/checkouts/:checkoutId/gift-certificates/:giftCertificateCode",
            "params": [
              {
                "name": "checkoutId",
                "value": "",
                "type": "path"
              },
              {
                "name": "giftCertificateCode",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes an existing *Gift Certificate*.\n\nThis removes the *Gift Certificate* payment method.\n\n> #### Note\n> * Substitute your storefront domain for `yourstore.example.com`. \n> * The Send a Test Request feature is not currently supported for this endpoint.  "
        }
      ]
    }
  ],
  "bundled": true
}