{
  "opencollection": "1.0.0",
  "info": {
    "name": "Deliverart Addresses Reservation API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "resource_owner_password_credentials",
      "accessTokenUrl": "https://auth.deliverart.it/oauth",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Reservation",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Reservation — Reserve delivery time",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/workshift/:id/delivery/time/reserve",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Reservation — Reserve delivery time. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Reservation — Reserve take-away time",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/workshift/:id/take-away/time/reserve",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Reservation — Reserve take-away time. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Reservation — Delivery time / Detail / By order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/order/:id/reserved/delivery/time",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Reservation — Delivery time / Detail / By order. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Reservation — Delivery time / Detail / By identifier",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/reserved/delivery/time/:id/detail",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Reservation — Delivery time / Detail / By identifier. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Reservation — Delivery time / Delete / By order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/order/:id/reserved/delivery/time/remove",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Reservation — Delivery time / Delete / By order. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Reservation — Delivery time / Delete / By identifier",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/reserved/delivery/time/:id/remove",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Reservation — Delivery time / Delete / By identifier. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Reservation — Take-away time / Detail / By order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/order/:id/reserved/take-away/time",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Reservation — Take-away time / Detail / By order. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Reservation — Take-away time / Detail / By identifier",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/reserved/take-away/time/:id/detail",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Reservation — Take-away time / Detail / By identifier. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Reservation — Take-away time / Delete / By order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/order/:id/reserved/take-away/time/remove",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Reservation — Take-away time / Delete / By order. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Reservation — Take-away time / Delete / By identifier",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/reserved/take-away/time/:id/remove",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Reservation — Take-away time / Delete / By identifier. Deliverart RPC-style endpoint (POST only)."
        }
      ]
    }
  ],
  "bundled": true
}