{ "opencollection": "1.0.0", "info": { "name": "VTex Anti-fraud Provider Account User Orders API", "version": "1.0" }, "items": [ { "info": { "name": "User Orders", "type": "folder" }, "items": [ { "info": { "name": "VTex Retrieve user's orders", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/oms/user/orders", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "clientEmail", "value": "", "type": "query", "description": "Customer email." }, { "name": "page", "value": "", "type": "query", "description": "Page number for result pagination." }, { "name": "per_page", "value": "", "type": "query", "description": "Page quantity for result pagination." } ] }, "docs": "Lists all orders from a given customer, filtering by their email. \r\n\r\n> You can only access information from orders created in the last two years, and that same period is valid for customers through [My Account](https://help.vtex.com/en/tutorial/how-my-account-works--2BQ3GiqhqGJTXsWVuio3Xh). \r\n\r\n> Note that this request should be made by an [user](https://developers.vtex.com/docs/guides/user-authentication-and-login) or [an appKey / appToken pair](https://developers.vtex.com/docs/guides/api-auth" }, { "info": { "name": "VTex Retrieve user order details", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/oms/user/orders/:orderId", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "clientEmail", "value": "", "type": "query", "description": "Customer email." }, { "name": "orderId", "value": "", "type": "path", "description": "Order ID is a unique code that identifies an order." } ] }, "docs": "Lists all details from an order, through the perspective of the customer who placed the order. \r\n\r\n> You can only access information from orders created in the last two years, and that same period is valid for customers through [My Account](https://help.vtex.com/en/tutorial/how-my-account-works--2BQ3GiqhqGJTXsWVuio3Xh). \r\n\r\n> Note that this request should be made by an [user](https://developers.vtex.com/docs/guides/user-authentication-and-login) or [an appKey / appToken pair](https://developers." } ] } ], "bundled": true }