{ "opencollection": "1.0.0", "info": { "name": "Deliverart Addresses Registration 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": "Registration", "type": "folder" }, "items": [ { "info": { "name": "Registration — Register customer", "type": "http" }, "http": { "method": "POST", "url": "https://pubapi.deliverart.it/registration/register/customer", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://auth.deliverart.it/oauth", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Registration — Register customer. Deliverart RPC-style endpoint (POST only)." }, { "info": { "name": "Registration — Register courier", "type": "http" }, "http": { "method": "POST", "url": "https://pubapi.deliverart.it/registration/register/courier", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://auth.deliverart.it/oauth", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Registration — Register courier. Deliverart RPC-style endpoint (POST only)." }, { "info": { "name": "Registration — Activate", "type": "http" }, "http": { "method": "POST", "url": "https://pubapi.deliverart.it/registration/activate", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://auth.deliverart.it/oauth", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Registration — Activate. Deliverart RPC-style endpoint (POST only)." } ] } ], "bundled": true }