Pickup Methods
This API endpoint enables you to manage pickup methods.
Get Pickup Methods
GET https://api.bigcommerce.com/stores/{store_hash}/v3/pickup/methodsRequest
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 - integerComma separated list of pickup method IDs.
- limit in query - integerMaximum number of results per page.
- page in query - integerThe number of the page to be fetched.
- date_created in query - string
Filter pickup methods by the date created. Return methods created on the provided date.
For example,
date_created=2023-09-07T06:23:13Z
. - date_created:min in query - string
Filter pickup methods by minimum date created. Return methods created after the provided date.
For example,
date_created:min=2023-09-07T06:23:13Z
. - date_created:max in query - string
Filter pickup methods by maximum date created. Return methods created before the provided date.
For example,
date_created:max=2023-09-07T06:23:13Z
. - date_modified in query - string
Filter pickup methods by date modified. Return methods modified on the provided date.
For example,
date_modified=2023-09-07T06:23:13Z
. - date_modified:min in query - string
Filter pickup methods by minimum date modified. Return methods modified after the provided date.
For example,
date_modified:min=2023-09-07T06:23:13Z
. - date_modified:max in query - string
Filter pickup methods by maximum date modified. Return methods modified before the provided date.
For example,
date_modified:max=2023-09-07T06:23:13Z
. - sort in query - string
Sort pickup methods by date_modified: or name: ; for example,
sort=name:asc
.date_modified:asc
- sort by date modified in ascending order
date_modified:desc
- sort by date modified in descending order
name:asc
- sort by name in ascending order
name:desc
- sort by name in descending order
Allowed: date_modified:asc | date_modified:desc | name:asc | name:desc
example
Response
Body
dataarray[object]
example
Create Pickup Methods
POST https://api.bigcommerce.com/stores/{store_hash}/v3/pickup/methodsRequest
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
location_idinteger
The ID of the location.Example: 2display_namestring
Title of the pickup method.>= 0 characters<= 250 charactersExample: Office Pickup!collection_instructionsstring
Instructions for picking up items.>= 0 characters<= 250 charactersExample: Bring your ID!collection_time_descriptionstring
The description of collection time.>= 0 characters<= 250 charactersExample: Collect during our opening hours of 0900 - 1700location_identityinteger
deprecatedExample: 2
example
Response
Body
dataarray[object]
example
Update Pickup Methods
PUT https://api.bigcommerce.com/stores/{store_hash}/v3/pickup/methodsRequest
Update existing pickup methods.
This batch operation can update 10 pickup method objects in one request.
Only the id
property of the pickup method object is required as part of the request. Pickup method properties that are not provided will maintain their existing values.
Limits
- Limit of updating 10 pickup method objects per
PUT
request.
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
The ID of the pickup method.Example: 1location_idinteger
The ID of the location.Example: 2display_namestring
Title of the pickup method.>= 0 characters<= 250 charactersExample: Office Pickup!collection_instructionsstring
Instructions for picking up items.>= 0 characters<= 250 charactersExample: Bring your ID!collection_time_descriptionstring
The description of collection time.>= 0 characters<= 250 charactersExample: Collect during our opening hours of 0900 - 1700location_identityinteger
deprecatedExample: 2
example
Response
Body
dataarray[object]
example
Delete Pickup Methods
DELETE https://api.bigcommerce.com/stores/{store_hash}/v3/pickup/methodsRequest
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 method IDs.
example
Response
See something you can improve? Edit this file on GitHub