{
  "opencollection": "1.0.0",
  "info": {
    "name": "Deliverect Channel Accounts Baskets API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.deliverect.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Baskets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Deliverect Recreate Basket",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.deliverect.com/commerce/:accountId/baskets/recreate",
            "params": [
              {
                "name": "accountId",
                "value": "5b71c6489f00290d4",
                "type": "path",
                "description": "The accountId value."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deliverect Recreate Basket"
        },
        {
          "info": {
            "name": "Deliverect Create Basket",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.deliverect.com/commerce/:accountId/baskets",
            "params": [
              {
                "name": "accountId",
                "value": "5b71c6489f00290d4",
                "type": "path",
                "description": "The accountId value."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint creates a Basket for the store."
        },
        {
          "info": {
            "name": "Deliverect Get Basket",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.deliverect.com/commerce/:accountId/baskets/:basketId",
            "params": [
              {
                "name": "accountId",
                "value": "5b71c6489f00290d4",
                "type": "path",
                "description": "The accountId value."
              },
              {
                "name": "basketId",
                "value": "609a1b2c3d4e5f6a7b8c9d0e",
                "type": "path",
                "description": "The basketId value."
              }
            ]
          },
          "docs": "Deliverect Get Basket"
        },
        {
          "info": {
            "name": "Deliverect Post_commerce_accountid_baskets_basketid_validate",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.deliverect.com/commerce/:accountId/baskets/:basketId/validate",
            "params": [
              {
                "name": "accountId",
                "value": "5b71c6489f00290d4",
                "type": "path",
                "description": "The accountId value."
              },
              {
                "name": "basketId",
                "value": "609a1b2c3d4e5f6a7b8c9d0e",
                "type": "path",
                "description": "The basketId value."
              }
            ]
          },
          "docs": "Deliverect Post_commerce_accountid_baskets_basketid_validate"
        },
        {
          "info": {
            "name": "Deliverect Update Basket - Item(s)",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.deliverect.com/commerce/:accountId/baskets/:basketId/items",
            "params": [
              {
                "name": "accountId",
                "value": "668e4aa170efd23c474b2ad1",
                "type": "path",
                "description": "The accountId value."
              },
              {
                "name": "basketId",
                "value": "609a1b2c3d4e5f6a7b8c9d0e",
                "type": "path",
                "description": "The basketId value."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deliverect Update Basket - Item(s)"
        },
        {
          "info": {
            "name": "Deliverect Update Basket - Customer",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.deliverect.com/commerce/:accountId/baskets/:basketId/customer",
            "params": [
              {
                "name": "accountId",
                "value": "668e4aa170efd23c474b2ad1",
                "type": "path",
                "description": "The accountId value."
              },
              {
                "name": "basketId",
                "value": "609a1b2c3d4e5f6a7b8c9d0e",
                "type": "path",
                "description": "The basketId value."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deliverect Update Basket - Customer"
        },
        {
          "info": {
            "name": "Deliverect Update Basket - Discount(s)",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.deliverect.com/commerce/:accountId/baskets/:basketId/discounts",
            "params": [
              {
                "name": "accountId",
                "value": "5b71c6489f00290d4",
                "type": "path",
                "description": "The accountId value."
              },
              {
                "name": "basketId",
                "value": "609a1b2c3d4e5f6a7b8c9d0e",
                "type": "path",
                "description": "The basketId value."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deliverect Update Basket - Discount(s)"
        },
        {
          "info": {
            "name": "Deliverect Patch_commerce_accountid_baskets_basketid_payment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.deliverect.com/commerce/:accountId/baskets/:basketId/payment",
            "params": [
              {
                "name": "accountId",
                "value": "5b71c6489f00290d4",
                "type": "path",
                "description": "The accountId value."
              },
              {
                "name": "basketId",
                "value": "609a1b2c3d4e5f6a7b8c9d0e",
                "type": "path",
                "description": "The basketId value."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deliverect Patch_commerce_accountid_baskets_basketid_payment"
        },
        {
          "info": {
            "name": "Deliverect Update Basket - Store",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.deliverect.com/commerce/:accountId/baskets/:basketId/store",
            "params": [
              {
                "name": "accountId",
                "value": "5b71c6489f00290d4",
                "type": "path",
                "description": "The accountId value."
              },
              {
                "name": "basketId",
                "value": "609a1b2c3d4e5f6a7b8c9d0e",
                "type": "path",
                "description": "The basketId value."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deliverect Update Basket - Store"
        }
      ]
    }
  ],
  "bundled": true
}