{ "opencollection": "1.0.0", "info": { "name": "Square ApplePay V1Transactions API", "version": "2.0" }, "items": [ { "info": { "name": "V1Transactions", "type": "folder" }, "items": [ { "info": { "name": "Square V1 List Orders", "type": "http" }, "http": { "method": "GET", "url": "https://connect.squareup.com/v1/:location_id/orders", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "The ID of the location to list online store orders for." }, { "name": "order", "value": "", "type": "query", "description": "The order in which payments are listed in the response." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of payments to return in a single response. This value cannot exceed 200." }, { "name": "batch_token", "value": "", "type": "query", "description": "A pagination cursor to retrieve the next set of results for your\noriginal query to the endpoint." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://connect.squareup.com/oauth2/authorize", "accessTokenUrl": "https://connect.squareup.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Provides summary information for a merchant's online store orders." }, { "info": { "name": "Square V1 Retrieve Order", "type": "http" }, "http": { "method": "GET", "url": "https://connect.squareup.com/v1/:location_id/orders/:order_id", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "The ID of the order's associated location." }, { "name": "order_id", "value": "", "type": "path", "description": "The order's Square-issued ID. You obtain this value from Order objects returned by the List Orders endpoint" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://connect.squareup.com/oauth2/authorize", "accessTokenUrl": "https://connect.squareup.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Provides comprehensive information for a single online store order, including the order's history." }, { "info": { "name": "Square V1 Update Order", "type": "http" }, "http": { "method": "PUT", "url": "https://connect.squareup.com/v1/:location_id/orders/:order_id", "params": [ { "name": "location_id", "value": "", "type": "path", "description": "The ID of the order's associated location." }, { "name": "order_id", "value": "", "type": "path", "description": "The order's Square-issued ID. You obtain this value from Order objects returned by the List Orders endpoint" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://connect.squareup.com/oauth2/authorize", "accessTokenUrl": "https://connect.squareup.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Updates the details of an online store order. Every update you perform on an order corresponds to one of three actions:" } ] } ], "bundled": true }