Pickup
This API endpoint enables you to manage pickups.
Get Pickups
GET https://api.bigcommerce.com/stores/{store_hash}/v3/orders/pickupsRequest
Retrieves a list of pickups.
Examples
You can filter the list to return pickup objects specific to a list of requested pickup or order IDs.
This is achieved by appending the query string ?order_id:in=100,103,202
or pickup_id:in=1,4
to the
resource /orders/pickups
.
GET /orders/pickups?order_id:in=100,300,500
or
http
GET /orders/pickups?pickup_id:in=7,13,17
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- order_id:in in query - integerComma separated list of order IDs.
- pickup_id:in in query - integerComma separated list of pickup IDs.
example
Response
Body
dataarray[object]
example
Create Pickups
POST https://api.bigcommerce.com/stores/{store_hash}/v3/orders/pickupsRequest
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- Content-Type in header with default of application/json - stringrequiredThe MIME type of the request body.
Body
pickup_method_idinteger
requiredID of pickup method.Min: 1Example: 2order_idinteger
requiredID of order.Min: 1Example: 103ready_atstring
requiredCan be provided as two inputs. Unix: Represents the time in seconds that has elapsed since Unix epoch (00:00:00 UTC on 1 January 1970) ISO-8601: Represents the time in ISO format.
Example: '1660555844' or '2022-06-11T00:00:20Z'collected_atstring
Can be provided as two inputs. Unix: Represents the time in seconds that has elapsed since Unix epoch (00:00:00 UTC on 1 January 1970). ISO-8601: Represents the time in ISO format. If this value is not supplied, the pickup item collected_at property will be null.
Example: '1660831392' or '2022-06-18T00:00:30Z'pickup_itemsarray[object]
required
example
Response
Body
dataarray[object]
example
Delete Pickups
DELETE https://api.bigcommerce.com/stores/{store_hash}/v3/orders/pickupsRequest
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- id:in in query - integerrequiredComma separated list of pickup IDs.
example
Response
Update Pickups
PUT https://api.bigcommerce.com/stores/{store_hash}/v3/orders/pickupsRequest
pickup_id
, collected_at
, and ready_at
in the input.Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- Content-Type in header with default of application/json - stringrequiredThe MIME type of the request body.
Body
idinteger
requireddeprecatedMin: 1Example: 2pickup_idinteger
requiredThe ID of pickup.Min: 1Example: 2ready_atstring
Can be provided as two inputs. Unix: Represents the time in seconds that has elapsed since Unix epoch (00:00:00 UTC on 1 January 1970) ISO-8601: Represents the time in ISO format.
Example: '1660555844' or '2022-06-11T00:00:20Z'collected_atstring
Can be provided as two inputs. Unix: Represents the time in seconds that has elapsed since Unix epoch (00:00:00 UTC on 1 January 1970). ISO-8601: Represents the time in ISO format. If this value is not supplied, the pickup item collected_at property will be null.
Example: '1660831392' or '2022-06-18T00:00:30Z'
example
Response
Body
dataarray[object]
example
See something you can improve? Edit this file on GitHub