{
  "opencollection": "1.0.0",
  "info": {
    "name": "Admin Account / Address Checkout API",
    "version": "v3"
  },
  "items": [
    {
      "info": {
        "name": "Checkout",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Update Checkout",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://{defaultHost}/api/v2/storefront/checkout",
            "params": [
              {
                "name": "include",
                "value": "line_items,variants,variants.images,billing_address,shipping_address,user,payments,shipments,promotions,gift_card",
                "type": "query",
                "description": "Specify the related resources you would like to receive in the response body. [More Information](https://jsonapi.org/format/#fetching-includes)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "The Update Checkout endpoint allows you to manage the typical stages of an e-commerce checkout system."
        },
        {
          "info": {
            "name": "Validate order payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://{defaultHost}/api/v2/storefront/checkout/validate_order_for_payment",
            "params": [
              {
                "name": "skip_state",
                "value": "",
                "type": "query",
                "description": "Set to `true` if the check for cart changes should be skipped"
              },
              {
                "name": "include",
                "value": "line_items,variants,variants.images,billing_address,shipping_address,user,payments,shipments,promotions,gift_card",
                "type": "query",
                "description": "Specify the related resources you would like to receive in the response body. [More Information](https://jsonapi.org/format/#fetching-includes)."
              },
              {
                "name": "fields[cart]",
                "value": "token,currency,number",
                "type": "query",
                "description": "Specify the fields you would like returned in the response body. [More information](https://jsonapi.org/format/#fetching-sparse-fieldsets)."
              }
            ]
          },
          "docs": "Validate an order before placing it. It will respond with an error when:\n- cart was changed\n- any order item is out of stock\n- any order item is discontinued"
        }
      ]
    }
  ],
  "bundled": true
}