Repository navigation
Expand file tree
/
Copy pathbigcommerce.http.example
More file actions
57 lines (51 loc) · 1.56 KB
/
Copy pathbigcommerce.http.example
File metadata and controls
57 lines (51 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
@ACCESS_TOKEN = your_access_token
@CLIENT_ID = your_client_id
@STORE_HASH = your_store_hash
@CUSTOMER_ID = customer_id
@PRODUCT_ID = product_id
@PRODUCT_SKU = product_sku
###
### Get all products
##
GET https://api.bigcommerce.com/stores/{{STORE_HASH}}/v3/catalog/products
X-Auth-Token: {{ACCESS_TOKEN}}
X-Auth-Client: {{CLIENT_ID}}
Content-Type: application/json
Accept: application/json
### Get product by SKU
##
GET https://api.bigcommerce.com/stores/{{STORE_HASH}}/v3/catalog/products
?sku={{PRODUCT_SKU}}
&include=variants
X-Auth-Token: {{ACCESS_TOKEN}}
X-Auth-Client: {{CLIENT_ID}}
Content-Type: application/json
Accept: application/json
### Get product by ID
##
GET https://api.bigcommerce.com/stores/{{STORE_HASH}}/v3/catalog/products/{{PRODUCT_ID}}
?include=variants,images,custom_fields,bulk_pricing_rules,primary_image,modifiers,options,videos
# &include_fields=
# &exclude_fields=
# &price_list_id=
X-Auth-Token: {{ACCESS_TOKEN}}
X-Auth-Client: {{CLIENT_ID}}
Content-Type: application/json
Accept: application/json
### Get customer record
##
GET https://api.bigcommerce.com/stores/{{STORE_HASH}}/v3/customers
?id:in={{CUSTOMER_ID}}
&include=addresses,attributes,formfields
X-Auth-Token: {{ACCESS_TOKEN}}
X-Auth-Client: {{CLIENT_ID}}
Content-Type: application/json
Accept: application/json
### Get customer addresses
##
GET https://api.bigcommerce.com/stores/{{STORE_HASH}}/v3/customers/addresses
?customer_id:in={{CUSTOMER_ID}}
X-Auth-Token: {{ACCESS_TOKEN}}
X-Auth-Client: {{CLIENT_ID}}
Content-Type: application/json
Accept: application/json