{ "opencollection": "1.0.0", "info": { "name": "WeTravel Partner Access token Add-ons API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Add-ons", "type": "folder" }, "items": [ { "info": { "name": "List add-ons", "type": "http" }, "http": { "method": "GET", "url": "https://api.wetravel.com/v2/draft_trips/:trip_uuid/options", "params": [ { "name": "trip_uuid", "value": "", "type": "path" } ] }, "docs": "Get Add-ons" }, { "info": { "name": "Create add-on", "type": "http" }, "http": { "method": "POST", "url": "https://api.wetravel.com/v2/draft_trips/:trip_uuid/options", "params": [ { "name": "trip_uuid", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create Add-on" }, { "info": { "name": "Get add-on", "type": "http" }, "http": { "method": "GET", "url": "https://api.wetravel.com/v2/draft_trips/:trip_uuid/options/:id", "params": [ { "name": "trip_uuid", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path", "description": "ID of the add-on" } ] }, "docs": "Get Add-on" }, { "info": { "name": "Update add-on", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.wetravel.com/v2/draft_trips/:trip_uuid/options/:id", "params": [ { "name": "trip_uuid", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path", "description": "ID of the add-on" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update Add-on" }, { "info": { "name": "Delete add-on", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.wetravel.com/v2/draft_trips/:trip_uuid/options/:id", "params": [ { "name": "trip_uuid", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path", "description": "ID of the add-on" } ] }, "docs": "Delete Add-on" } ] } ], "bundled": true }