{ "opencollection": "1.0.0", "info": { "name": "Deliverart Addresses Customer addresses 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": "Customer addresses", "type": "folder" }, "items": [ { "info": { "name": "Customer addresses — Detail", "type": "http" }, "http": { "method": "GET", "url": "https://pubapi.deliverart.it/customer/address/:customerId/detail", "params": [ { "name": "customerId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://auth.deliverart.it/oauth", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Customer addresses — Detail. Deliverart RPC-style endpoint (GET only)." }, { "info": { "name": "Customer addresses — Create", "type": "http" }, "http": { "method": "POST", "url": "https://pubapi.deliverart.it/customer/:id/address/create", "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": "Customer addresses — Create. Deliverart RPC-style endpoint (POST only)." }, { "info": { "name": "Customer addresses — Update", "type": "http" }, "http": { "method": "POST", "url": "https://pubapi.deliverart.it/customer/address/:id/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": "Customer addresses — Update. Deliverart RPC-style endpoint (POST only)." }, { "info": { "name": "Customer addresses — Set as default", "type": "http" }, "http": { "method": "POST", "url": "https://pubapi.deliverart.it/customer/address/:id/default", "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": "Customer addresses — Set as default. Deliverart RPC-style endpoint (POST only)." }, { "info": { "name": "Customer addresses — Delete", "type": "http" }, "http": { "method": "POST", "url": "https://pubapi.deliverart.it/customer/address/:id/delete", "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": "Customer addresses — Delete. Deliverart RPC-style endpoint (POST only)." } ] } ], "bundled": true }