{ "opencollection": "1.0.0", "info": { "name": "Deliverart Addresses Points of sale 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": "Points of sale", "type": "folder" }, "items": [ { "info": { "name": "Points of sale — Detail", "type": "http" }, "http": { "method": "GET", "url": "https://pubapi.deliverart.it/pos/:id/detail", "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": "Points of sale — Detail. Deliverart RPC-style endpoint (GET only)." }, { "info": { "name": "Points of sale — Customers / List", "type": "http" }, "http": { "method": "GET", "url": "https://pubapi.deliverart.it/pos/:id/customers", "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": "Points of sale — Customers / List. Deliverart RPC-style endpoint (GET only)." }, { "info": { "name": "Points of sale — Workshifts / List", "type": "http" }, "http": { "method": "GET", "url": "https://pubapi.deliverart.it/pos/:id/workshifts", "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": "Points of sale — Workshifts / List. Deliverart RPC-style endpoint (GET only)." }, { "info": { "name": "Points of sale — Delivery fees / List", "type": "http" }, "http": { "method": "GET", "url": "https://pubapi.deliverart.it/pos/:id/delivery/fees", "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": "Points of sale — Delivery fees / List. Deliverart RPC-style endpoint (GET only)." }, { "info": { "name": "Points of sale — Deliveries / List", "type": "http" }, "http": { "method": "GET", "url": "https://pubapi.deliverart.it/pos/:id/deliveries", "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": "Points of sale — Deliveries / List. Deliverart RPC-style endpoint (GET only)." }, { "info": { "name": "Points of sale — Customers / Find by phone number", "type": "http" }, "http": { "method": "GET", "url": "https://pubapi.deliverart.it/pos/:id/customer/find/phone-number/:phoneNumber", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "phoneNumber", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://auth.deliverart.it/oauth", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Points of sale — Customers / Find by phone number. Deliverart RPC-style endpoint (GET only)." }, { "info": { "name": "Points of sale — Invitation / Accept", "type": "http" }, "http": { "method": "POST", "url": "https://pubapi.deliverart.it/pos/invitation/accept", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://auth.deliverart.it/oauth", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Points of sale — Invitation / Accept. Deliverart RPC-style endpoint (POST only)." }, { "info": { "name": "Points of sale — Invitation / Reject", "type": "http" }, "http": { "method": "POST", "url": "https://pubapi.deliverart.it/pos/invitation/reject", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://auth.deliverart.it/oauth", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Points of sale — Invitation / Reject. Deliverart RPC-style endpoint (POST only)." }, { "info": { "name": "Points of sale — Settings / Detail", "type": "http" }, "http": { "method": "GET", "url": "https://pubapi.deliverart.it/pos/:id/settings", "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": "Points of sale — Settings / Detail. Deliverart RPC-style endpoint (GET only)." }, { "info": { "name": "Points of sale — Settings / Update", "type": "http" }, "http": { "method": "POST", "url": "https://pubapi.deliverart.it/pos/:id/settings/update", "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": "Points of sale — Settings / Update. Deliverart RPC-style endpoint (POST only)." } ] } ], "bundled": true }