{
  "opencollection": "1.0.0",
  "info": {
    "name": "Deliverart Addresses Me 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": "Me",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Me — Info",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://pubapi.deliverart.it/me",
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Info. Deliverart RPC-style endpoint (GET only)."
        },
        {
          "info": {
            "name": "Me — Update",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/me/update",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Update. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Me — Update / Password",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/me/update/password",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Update / Password. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Me — Update / Mobile phone number",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/me/update/mobile-phone-number",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Update / Mobile phone number. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Me — Verification / Mobile phone number / Request 2FA code",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/me/verification/mobile/request",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Verification / Mobile phone number / Request 2FA code. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Me — Verification / Mobile phone number / Validate 2FA code",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/me/verification/mobile/validate",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Verification / Mobile phone number / Validate 2FA code. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Me — Update / Email",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/me/update/email",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Update / Email. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Me — Verification / Email / Request 2FA code",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/me/verification/email/request",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Verification / Email / Request 2FA code. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Me — Verification / Email / Validate 2FA code",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/me/verification/email/validate",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Verification / Email / Validate 2FA code. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Me — Order / List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://pubapi.deliverart.it/me/order/list",
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Order / List. Deliverart RPC-style endpoint (GET only)."
        },
        {
          "info": {
            "name": "Me — Customer / Detail",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://pubapi.deliverart.it/me/customer/detail/pos/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Customer / Detail. Deliverart RPC-style endpoint (GET only)."
        },
        {
          "info": {
            "name": "Me — Customer / Create profile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/me/customer/create",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Customer / Create profile. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Me — Customer / Redeem profile / By POS",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pubapi.deliverart.it/me/customer/ownership/pos",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Customer / Redeem profile / By POS. Deliverart RPC-style endpoint (POST only)."
        },
        {
          "info": {
            "name": "Me — Customer address / List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://pubapi.deliverart.it/me/customer/addresses/pos/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Customer address / List. Deliverart RPC-style endpoint (GET only)."
        },
        {
          "info": {
            "name": "Me — Workshift / List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://pubapi.deliverart.it/me/workshift/list",
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — Workshift / List. Deliverart RPC-style endpoint (GET only)."
        },
        {
          "info": {
            "name": "Me — POS / List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://pubapi.deliverart.it/me/pos/list",
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://auth.deliverart.it/oauth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Me — POS / List. Deliverart RPC-style endpoint (GET only)."
        }
      ]
    }
  ],
  "bundled": true
}