{ "opencollection": "1.0.0", "info": { "name": "VTex Anti-fraud Provider Account Shipping Policies API", "version": "1.0" }, "items": [ { "info": { "name": "Shipping Policies", "type": "folder" }, "items": [ { "info": { "name": "VTex Retrieve shipping policy by ID", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/logistics/pvt/shipping-policies/:id", "headers": [ { "name": "Accept", "value": "" }, { "name": "Content-Type", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the shipping policy." } ] }, "docs": "This endpoint lists existing [shipping policies](https://help.vtex.com/en/tutorial/shipping-policy--tutorials_140) from carriers in your store, searching by their IDs.\n\r\n\r> Note that, while most of our API endpoints return time fields in UTC, this endpoint returns **Scheduled Delivery** related time fields adjusted to the configured time zone of the account." }, { "info": { "name": "VTex Update shipping policy", "type": "http" }, "http": { "method": "PUT", "url": "https://{providerApiEndpoint}/api/logistics/pvt/shipping-policies/:id", "headers": [ { "name": "Accept", "value": "" }, { "name": "Content-Type", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "Shipping policy's ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "This endpoint updates information on existing Shipping Policies from carriers.\n\r\n\r> Note that, while most of our API endpoints return time fields in UTC, this endpoint returns **Scheduled Delivery** related time fields adjusted to the configured time zone of the account." }, { "info": { "name": "VTex Delete shipping policies by ID", "type": "http" }, "http": { "method": "DELETE", "url": "https://{providerApiEndpoint}/api/logistics/pvt/shipping-policies/:id", "headers": [ { "name": "Accept", "value": "" }, { "name": "Content-Type", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the shipping policy." } ] }, "docs": "This endpoint deletes existing shipping policies from carriers in your store, searching by their IDs." }, { "info": { "name": "VTex List shipping policies", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/logistics/pvt/shipping-policies", "headers": [ { "name": "Accept", "value": "" }, { "name": "Content-Type", "value": "" } ], "params": [ { "name": "page", "value": "", "type": "query", "description": "Desired number of pages to retrieve information from your Shipping Policies." }, { "name": "perPage", "value": "", "type": "query", "description": "Desired number of items per page, to retrieve information from your Shipping Policies." } ] }, "docs": "This endpoint lists existing shipping policies from carriers in your store.\n\r\n\r> Note that, while most of our API endpoints return time fields in UTC, this endpoint returns **Scheduled Delivery** related time fields adjusted to the configured time zone of the account." }, { "info": { "name": "VTex Create shipping policy", "type": "http" }, "http": { "method": "POST", "url": "https://{providerApiEndpoint}/api/logistics/pvt/shipping-policies", "headers": [ { "name": "Accept", "value": "" }, { "name": "Content-Type", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "This endpoint creates new shipping policies from carriers in your store.\n\r\n\r> Note that, while most of our API endpoints return time fields in UTC, this endpoint returns **Scheduled Delivery** related time fields adjusted to the configured time zone of the account." } ] } ], "bundled": true }