{
  "opencollection": "1.0.0",
  "info": {
    "name": "Loyalty Operations Customer Actions Orders API",
    "version": "3.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "stamped-api-key",
      "value": "{{stamped-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Filter Orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://stamped.io/api/v3/merchant/shops/:shopId/orders",
            "params": [
              {
                "name": "shopId",
                "value": "",
                "type": "path",
                "description": "ShopId (storeHash)"
              }
            ]
          },
          "docs": "Filter Orders"
        },
        {
          "info": {
            "name": "Create Order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://stamped.io/api/v3/merchant/shops/:shopId/orders",
            "params": [
              {
                "name": "shopId",
                "value": "",
                "type": "path",
                "description": "ShopId (storeHash)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Order"
        },
        {
          "info": {
            "name": "Get Order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://stamped.io/api/v3/merchant/shops/:shopId/orders/:orderId",
            "params": [
              {
                "name": "shopId",
                "value": "",
                "type": "path",
                "description": "The shopId, or storeHash associated with Stamped account"
              },
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "The orderId generated by Stamped on order creation"
              }
            ]
          },
          "docs": "Get Order"
        },
        {
          "info": {
            "name": "Update Order",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://stamped.io/api/v3/merchant/shops/:shopId/orders/:orderId",
            "params": [
              {
                "name": "shopId",
                "value": "",
                "type": "path",
                "description": "The shopId, or storeHash associated with Stamped account"
              },
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "The orderId generated by Stamped on order creation"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Order"
        },
        {
          "info": {
            "name": "Delete Order",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://stamped.io/api/v3/merchant/shops/:shopId/orders/:orderId",
            "params": [
              {
                "name": "shopId",
                "value": "",
                "type": "path",
                "description": "The shopId, or storeHash associated with Stamped account"
              },
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "The orderId generated by Stamped on order creation"
              }
            ]
          },
          "docs": "Delete Order"
        },
        {
          "info": {
            "name": "Lookup Order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://stamped.io/api/v3/merchant/shops/:shopId/orders/lookup",
            "params": [
              {
                "name": "shopId",
                "value": "",
                "type": "path",
                "description": "The shopId, or storeHash associated with Stamped account"
              },
              {
                "name": "customOrderId",
                "value": "",
                "type": "query",
                "description": "Custom OrderId to lookup Order by"
              },
              {
                "name": "shopifyId",
                "value": "",
                "type": "query",
                "description": "If Shopify, a matching shopifyId"
              },
              {
                "name": "bigcommerceId",
                "value": "",
                "type": "query",
                "description": "If BigCommerce, a matching bigcommerceId"
              }
            ]
          },
          "docs": "Lookup Order"
        }
      ]
    }
  ],
  "bundled": true
}