diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/auth_customer_{auth_provider}/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/auth_customer_{auth_provider}/post.sh index 79efe2b39c..8db2a19301 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/auth_customer_{auth_provider}/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/auth_customer_{auth_provider}/post.sh @@ -1 +1 @@ -curl -X POST '{backend_url}/auth/customer/{auth_provider}' \ No newline at end of file +curl -X POST '{backend_url}/auth/customer/github' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/auth_customer_{auth_provider}_callback/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/auth_customer_{auth_provider}_callback/post.sh index 8974e807ef..8d755aa683 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/auth_customer_{auth_provider}_callback/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/auth_customer_{auth_provider}_callback/post.sh @@ -1 +1 @@ -curl -X POST '{backend_url}/auth/customer/{auth_provider}/callback' \ No newline at end of file +curl -X POST '{backend_url}/auth/customer/github/callback?code=123' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/auth_customer_{auth_provider}_register/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/auth_customer_{auth_provider}_register/post.sh index ba3ff116d7..a6d1ec36f6 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/auth_customer_{auth_provider}_register/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/auth_customer_{auth_provider}_register/post.sh @@ -1 +1,6 @@ -curl -X POST '{backend_url}/auth/customer/{auth_provider}/register' \ No newline at end of file +curl -X POST '{backend_url}/auth/customer/emailpass/register' \ +-H 'Content-Type: application/json' \ +--data-raw '{ + "email": "customer@gmail.com", + "password": "supersecret" +}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/auth_token_refresh/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/auth_token_refresh/post.sh new file mode 100644 index 0000000000..5db8edcfa5 --- /dev/null +++ b/www/apps/api-reference/specs/store/code_samples/Shell/auth_token_refresh/post.sh @@ -0,0 +1,2 @@ +curl -X POST '{backend_url}/auth/token/refresh' \ +-H 'Authorization: Bearer {token}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts/post.sh index 391027d3d6..fe7970d60c 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts/post.sh @@ -1 +1,2 @@ -curl -X POST '{backend_url}/store/carts' \ No newline at end of file +curl -X POST '{backend_url}/store/carts' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}/get.sh index dd696e7372..29ee68f3e6 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/carts/{id}' \ No newline at end of file +curl '{backend_url}/store/carts/{id}' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}/post.sh index 39ee5de507..3b03eb2e04 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}/post.sh @@ -1 +1,2 @@ -curl -X POST '{backend_url}/store/carts/{id}' \ No newline at end of file +curl -X POST '{backend_url}/store/carts/{id}' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_complete/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_complete/post.sh index a3211d248b..b96f3c782c 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_complete/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_complete/post.sh @@ -1 +1,2 @@ -curl -X POST '{backend_url}/store/carts/{id}/complete' \ No newline at end of file +curl -X POST '{backend_url}/store/carts/{id}/complete' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_line-items/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_line-items/post.sh index bb2d14a189..63abc4e754 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_line-items/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_line-items/post.sh @@ -1,5 +1,6 @@ curl -X POST '{backend_url}/store/carts/{id}/line-items' \ --H 'Content-Type: application/json' \ +-H 'Content-Type: application/json' \ \ +-H 'x-publishable-api-key: {your_publishable_api_key}' --data-raw '{ "variant_id": "{value}", "quantity": 3360689747918848, diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_line-items_{line_id}/delete.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_line-items_{line_id}/delete.sh index 3673916dd9..e40c446ae4 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_line-items_{line_id}/delete.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_line-items_{line_id}/delete.sh @@ -1 +1,2 @@ -curl -X DELETE '{backend_url}/store/carts/{id}/line-items/{line_id}' \ No newline at end of file +curl -X DELETE '{backend_url}/store/carts/{id}/line-items/{line_id}' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_line-items_{line_id}/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_line-items_{line_id}/post.sh index f04c8e687e..aea2f820a8 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_line-items_{line_id}/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_line-items_{line_id}/post.sh @@ -1,5 +1,6 @@ curl -X POST '{backend_url}/store/carts/{id}/line-items/{line_id}' \ --H 'Content-Type: application/json' \ +-H 'Content-Type: application/json' \ \ +-H 'x-publishable-api-key: {your_publishable_api_key}' --data-raw '{ "quantity": 8980402259623936, "metadata": {} diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_promotions/delete.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_promotions/delete.sh index 54fddbd221..f9a9e22c36 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_promotions/delete.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_promotions/delete.sh @@ -1 +1,2 @@ -curl -X DELETE '{backend_url}/store/carts/{id}/promotions' \ No newline at end of file +curl -X DELETE '{backend_url}/store/carts/{id}/promotions' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_promotions/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_promotions/post.sh index 0f0f2fc02c..ec622e670e 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_promotions/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_promotions/post.sh @@ -1,5 +1,6 @@ curl -X POST '{backend_url}/store/carts/{id}/promotions' \ --H 'Content-Type: application/json' \ +-H 'Content-Type: application/json' \ \ +-H 'x-publishable-api-key: {your_publishable_api_key}' --data-raw '{ "promo_codes": [ "{value}" diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_shipping-methods/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_shipping-methods/post.sh index 07ce68901e..b91dbb7473 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_shipping-methods/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_shipping-methods/post.sh @@ -1,5 +1,6 @@ curl -X POST '{backend_url}/store/carts/{id}/shipping-methods' \ --H 'Content-Type: application/json' \ +-H 'Content-Type: application/json' \ \ +-H 'x-publishable-api-key: {your_publishable_api_key}' --data-raw '{ "option_id": "{value}" }' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_taxes/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_taxes/post.sh index 7d0ce0080e..c9d6271e81 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_taxes/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_carts_{id}_taxes/post.sh @@ -1 +1,2 @@ -curl -X POST '{backend_url}/store/carts/{id}/taxes' \ No newline at end of file +curl -X POST '{backend_url}/store/carts/{id}/taxes' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_collections/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_collections/get.sh index e4889bbfe4..5c6ae22682 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_collections/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_collections/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/collections' \ No newline at end of file +curl '{backend_url}/store/collections' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_collections_{id}/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_collections_{id}/get.sh index ab8c55b115..feff286282 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_collections_{id}/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_collections_{id}/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/collections/{id}' \ No newline at end of file +curl '{backend_url}/store/collections/{id}' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_currencies/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_currencies/get.sh index cb78862090..1a2159a97c 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_currencies/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_currencies/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/currencies' \ No newline at end of file +curl '{backend_url}/store/currencies' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_currencies_{code}/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_currencies_{code}/get.sh index 2c5c2ba6e7..3adf880da9 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_currencies_{code}/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_currencies_{code}/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/currencies/{code}' \ No newline at end of file +curl '{backend_url}/store/currencies/{code}' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers/post.sh index ba65801c74..f56806ef6d 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers/post.sh @@ -1,5 +1,7 @@ curl -X POST '{backend_url}/store/customers' \ --H 'Content-Type: application/json' \ +-H 'Authorization: Bearer {token}' \ +-H 'Content-Type: application/json' \ \ +-H 'x-publishable-api-key: {your_publishable_api_key}' --data-raw '{ "email": "Monserrate.Leannon88@yahoo.com", "company_name": "{value}", diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me/get.sh index bab5a014c2..2ec825a99d 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me/get.sh @@ -1,2 +1,3 @@ curl '{backend_url}/store/customers/me' \ --H 'Authorization: Bearer {access_token}' \ No newline at end of file +-H 'Authorization: Bearer {access_token}' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me/post.sh index c3d541be7f..49c62f4568 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me/post.sh @@ -1,6 +1,7 @@ curl -X POST '{backend_url}/store/customers/me' \ -H 'Authorization: Bearer {access_token}' \ --H 'Content-Type: application/json' \ +-H 'Content-Type: application/json' \ \ +-H 'x-publishable-api-key: {your_publishable_api_key}' --data-raw '{ "company_name": "{value}", "first_name": "{value}", diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses/get.sh index 23a27237c0..4c12f04ec3 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses/get.sh @@ -1,2 +1,3 @@ curl '{backend_url}/store/customers/me/addresses' \ --H 'Authorization: Bearer {access_token}' \ No newline at end of file +-H 'Authorization: Bearer {access_token}' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses/post.sh index 14e804ec9e..6bac572177 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses/post.sh @@ -1,6 +1,7 @@ curl -X POST '{backend_url}/store/customers/me/addresses' \ -H 'Authorization: Bearer {access_token}' \ --H 'Content-Type: application/json' \ +-H 'Content-Type: application/json' \ \ +-H 'x-publishable-api-key: {your_publishable_api_key}' --data-raw '{ "metadata": {}, "first_name": "{value}", diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses_{address_id}/delete.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses_{address_id}/delete.sh index 77fa00de72..e2103679b6 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses_{address_id}/delete.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses_{address_id}/delete.sh @@ -1,2 +1,3 @@ -curl -X DELETE '{backend_url}/store/customers/me/addresses/{address_id}' \ +curl -X DELETE '{backend_url}/store/customers/me/addresses/{address_id}' \ \ +-H 'x-publishable-api-key: {your_publishable_api_key}' -H 'Authorization: Bearer {access_token}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses_{address_id}/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses_{address_id}/get.sh index 2b83e998e0..374bb25731 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses_{address_id}/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses_{address_id}/get.sh @@ -1,2 +1,3 @@ curl '{backend_url}/store/customers/me/addresses/{address_id}' \ --H 'Authorization: Bearer {access_token}' \ No newline at end of file +-H 'Authorization: Bearer {access_token}' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses_{address_id}/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses_{address_id}/post.sh index df0d0170d9..1c53259149 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses_{address_id}/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_customers_me_addresses_{address_id}/post.sh @@ -1,17 +1,7 @@ curl -X POST '{backend_url}/store/customers/me/addresses/{address_id}' \ -H 'Authorization: Bearer {access_token}' \ --H 'Content-Type: application/json' \ +-H 'Content-Type: application/json' \ \ +-H 'x-publishable-api-key: {your_publishable_api_key}' --data-raw '{ - "metadata": {}, "first_name": "{value}", - "last_name": "{value}", - "phone": "{value}", - "company": "{value}", - "address_1": "{value}", - "address_2": "{value}", - "city": "{value}", - "country_code": "{value}", - "province": "{value}", - "postal_code": "{value}", - "address_name": "{value}" }' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_orders/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_orders/get.sh index 720db18f83..7628d5d31e 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_orders/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_orders/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/orders' \ No newline at end of file +curl '{backend_url}/store/orders' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_orders_{id}/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_orders_{id}/get.sh index 53e65a1ab1..fa77cd40ad 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_orders_{id}/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_orders_{id}/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/orders/{id}' \ No newline at end of file +curl '{backend_url}/store/orders/{id}' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_payment-collections/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_payment-collections/post.sh index 6970aa4767..fc07b9041c 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_payment-collections/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_payment-collections/post.sh @@ -1,5 +1,6 @@ curl -X POST '{backend_url}/store/payment-collections' \ --H 'Content-Type: application/json' \ +-H 'Content-Type: application/json' \ \ +-H 'x-publishable-api-key: {your_publishable_api_key}' --data-raw '{ "cart_id": "{value}", "region_id": "{value}", diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_payment-collections_{id}_payment-sessions/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_payment-collections_{id}_payment-sessions/post.sh index b45cb5a91e..d97b019f93 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_payment-collections_{id}_payment-sessions/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_payment-collections_{id}_payment-sessions/post.sh @@ -1,5 +1,6 @@ curl -X POST '{backend_url}/store/payment-collections/{id}/payment-sessions' \ --H 'Content-Type: application/json' \ +-H 'Content-Type: application/json' \ \ +-H 'x-publishable-api-key: {your_publishable_api_key}' --data-raw '{ "provider_id": "{value}" }' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_payment-providers/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_payment-providers/get.sh index bd7621e278..0bbebab8a8 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_payment-providers/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_payment-providers/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/payment-providers' \ No newline at end of file +curl '{backend_url}/store/payment-providers' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_product-categories/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_product-categories/get.sh index 7539bbd7f5..eb611235f2 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_product-categories/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_product-categories/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/product-categories' \ No newline at end of file +curl '{backend_url}/store/product-categories' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_product-categories_{id}/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_product-categories_{id}/get.sh index 306bde43d6..7adcb1e331 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_product-categories_{id}/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_product-categories_{id}/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/product-categories/{id}' \ No newline at end of file +curl '{backend_url}/store/product-categories/{id}' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_products/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_products/get.sh index 780cefa2ef..2199188dcb 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_products/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_products/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/products' \ No newline at end of file +curl '{backend_url}/store/products' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_products_{id}/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_products_{id}/get.sh index cc0cb5bafe..b72d29bda3 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_products_{id}/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_products_{id}/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/products/{id}' \ No newline at end of file +curl '{backend_url}/store/products/{id}' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_regions/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_regions/get.sh index b97508bcb2..1de66347f4 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_regions/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_regions/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/regions' \ No newline at end of file +curl '{backend_url}/store/regions' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_return-reasons/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_return-reasons/get.sh index 7492fc9b1c..c27c16db28 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_return-reasons/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_return-reasons/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/return-reasons' \ No newline at end of file +curl '{backend_url}/store/return-reasons' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_return-reasons_{id}/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_return-reasons_{id}/get.sh index 403da097a2..c173f6455f 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_return-reasons_{id}/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_return-reasons_{id}/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/return-reasons/{id}' \ No newline at end of file +curl '{backend_url}/store/return-reasons/{id}' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_return/post.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_return/post.sh index 93e9497208..350d798b0c 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_return/post.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_return/post.sh @@ -1,5 +1,6 @@ curl -X POST '{backend_url}/store/return' \ --H 'Content-Type: application/json' \ +-H 'Content-Type: application/json' \ \ +-H 'x-publishable-api-key: {your_publishable_api_key}' --data-raw '{ "order_id": "{value}", "items": [ diff --git a/www/apps/api-reference/specs/store/code_samples/Shell/store_shipping-options/get.sh b/www/apps/api-reference/specs/store/code_samples/Shell/store_shipping-options/get.sh index e64e0793b5..77a2d7a77a 100644 --- a/www/apps/api-reference/specs/store/code_samples/Shell/store_shipping-options/get.sh +++ b/www/apps/api-reference/specs/store/code_samples/Shell/store_shipping-options/get.sh @@ -1 +1,2 @@ -curl '{backend_url}/store/shipping-options' \ No newline at end of file +curl '{backend_url}/store/shipping-options' \ +-H 'x-publishable-api-key: {your_publishable_api_key}' \ No newline at end of file diff --git a/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_line-items_[line_id].ts b/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_line-items_[line_id].ts index 6d822e5951..5476ef2bf7 100644 --- a/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_line-items_[line_id].ts +++ b/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_line-items_[line_id].ts @@ -42,7 +42,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl -X DELETE '{backend_url}/store/carts/{id}/line-items/{line_id}' + * source: |- + * curl -X DELETE '{backend_url}/store/carts/{id}/line-items/{line_id}' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Carts * responses: diff --git a/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_promotions.ts b/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_promotions.ts index 6bd9623f74..208a146cc8 100644 --- a/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_promotions.ts +++ b/www/utils/generated/oas-output/operations/store/delete_store_carts_[id]_promotions.ts @@ -32,7 +32,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl -X DELETE '{backend_url}/store/carts/{id}/promotions' + * source: |- + * curl -X DELETE '{backend_url}/store/carts/{id}/promotions' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Carts * responses: diff --git a/www/utils/generated/oas-output/operations/store/delete_store_customers_me_addresses_[address_id].ts b/www/utils/generated/oas-output/operations/store/delete_store_customers_me_addresses_[address_id].ts index 280860faac..85d74a1e2c 100644 --- a/www/utils/generated/oas-output/operations/store/delete_store_customers_me_addresses_[address_id].ts +++ b/www/utils/generated/oas-output/operations/store/delete_store_customers_me_addresses_[address_id].ts @@ -40,7 +40,8 @@ * - lang: Shell * label: cURL * source: |- - * curl -X DELETE '{backend_url}/store/customers/me/addresses/{address_id}' \ + * curl -X DELETE '{backend_url}/store/customers/me/addresses/{address_id}' \ \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * -H 'Authorization: Bearer {access_token}' * tags: * - Customers diff --git a/www/utils/generated/oas-output/operations/store/get_store_carts_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_carts_[id].ts index 9b16ffca5c..49cb05ac19 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_carts_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_carts_[id].ts @@ -32,7 +32,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/carts/{id}' + * source: |- + * curl '{backend_url}/store/carts/{id}' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Carts * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_collections.ts b/www/utils/generated/oas-output/operations/store/get_store_collections.ts index 5235646be4..afe4945fc7 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_collections.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_collections.ts @@ -802,7 +802,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/collections' + * source: |- + * curl '{backend_url}/store/collections' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Collections * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_collections_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_collections_[id].ts index b6251aee59..54c4649a35 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_collections_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_collections_[id].ts @@ -35,7 +35,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/collections/{id}' + * source: |- + * curl '{backend_url}/store/collections/{id}' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Collections * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_currencies.ts b/www/utils/generated/oas-output/operations/store/get_store_currencies.ts index 749352c80c..fc668f9d84 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_currencies.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_currencies.ts @@ -92,7 +92,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/currencies' + * source: |- + * curl '{backend_url}/store/currencies' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Currencies * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_currencies_[code].ts b/www/utils/generated/oas-output/operations/store/get_store_currencies_[code].ts index cd158dae92..eeb390325c 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_currencies_[code].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_currencies_[code].ts @@ -32,7 +32,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/currencies/{code}' + * source: |- + * curl '{backend_url}/store/currencies/{code}' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Currencies * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_customers_me.ts b/www/utils/generated/oas-output/operations/store/get_store_customers_me.ts index f757bd6aa3..c974b610fb 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_customers_me.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_customers_me.ts @@ -35,7 +35,8 @@ * label: cURL * source: |- * curl '{backend_url}/store/customers/me' \ - * -H 'Authorization: Bearer {access_token}' + * -H 'Authorization: Bearer {access_token}' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Customers * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses.ts b/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses.ts index 10cf1da964..1b77fa3ccf 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses.ts @@ -91,7 +91,8 @@ * label: cURL * source: |- * curl '{backend_url}/store/customers/me/addresses' \ - * -H 'Authorization: Bearer {access_token}' + * -H 'Authorization: Bearer {access_token}' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Customers * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses_[address_id].ts b/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses_[address_id].ts index 9cbd76cd90..2c60454e94 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses_[address_id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_customers_me_addresses_[address_id].ts @@ -38,7 +38,8 @@ * label: cURL * source: |- * curl '{backend_url}/store/customers/me/addresses/{address_id}' \ - * -H 'Authorization: Bearer {access_token}' + * -H 'Authorization: Bearer {access_token}' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Customers * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_orders.ts b/www/utils/generated/oas-output/operations/store/get_store_orders.ts index 36f4869e24..d275b46f34 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_orders.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_orders.ts @@ -118,7 +118,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/orders' + * source: |- + * curl '{backend_url}/store/orders' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Orders * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_orders_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_orders_[id].ts index 60e0863aa1..695e417d1e 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_orders_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_orders_[id].ts @@ -32,7 +32,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/orders/{id}' + * source: |- + * curl '{backend_url}/store/orders/{id}' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Orders * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_payment-providers.ts b/www/utils/generated/oas-output/operations/store/get_store_payment-providers.ts index 8ae51b04c2..5be6c12720 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_payment-providers.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_payment-providers.ts @@ -61,7 +61,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/payment-providers' + * source: |- + * curl '{backend_url}/store/payment-providers' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Payment Providers * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_product-categories.ts b/www/utils/generated/oas-output/operations/store/get_store_product-categories.ts index d88b0f242d..1e98e2df45 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_product-categories.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_product-categories.ts @@ -858,7 +858,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/product-categories' + * source: |- + * curl '{backend_url}/store/product-categories' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Product Categories * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_product-categories_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_product-categories_[id].ts index 1a7638b320..046ddec2f0 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_product-categories_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_product-categories_[id].ts @@ -51,7 +51,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/product-categories/{id}' + * source: |- + * curl '{backend_url}/store/product-categories/{id}' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Product Categories * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_products.ts b/www/utils/generated/oas-output/operations/store/get_store_products.ts index 08c0b76c34..26dd6a649c 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_products.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_products.ts @@ -932,7 +932,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/products' + * source: |- + * curl '{backend_url}/store/products' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Products * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_products_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_products_[id].ts index 38b7cd86af..3186c8f1a5 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_products_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_products_[id].ts @@ -70,7 +70,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/products/{id}' + * source: |- + * curl '{backend_url}/store/products/{id}' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Products * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_regions.ts b/www/utils/generated/oas-output/operations/store/get_store_regions.ts index 8a0e60a90a..e0a93de2a2 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_regions.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_regions.ts @@ -123,7 +123,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/regions' + * source: |- + * curl '{backend_url}/store/regions' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Regions * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_regions_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_regions_[id].ts index 6354e35331..31b1cf1ab9 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_regions_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_regions_[id].ts @@ -32,7 +32,8 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/regions/{id}' + * source: |- + * curl '{backend_url}/store/regions/{id}' * tags: * - Regions * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_return-reasons.ts b/www/utils/generated/oas-output/operations/store/get_store_return-reasons.ts index 2787a571d1..e6633f0af2 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_return-reasons.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_return-reasons.ts @@ -50,7 +50,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/return-reasons' + * source: |- + * curl '{backend_url}/store/return-reasons' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Return Reasons * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_return-reasons_[id].ts b/www/utils/generated/oas-output/operations/store/get_store_return-reasons_[id].ts index e40f17f7cb..146eb6322c 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_return-reasons_[id].ts +++ b/www/utils/generated/oas-output/operations/store/get_store_return-reasons_[id].ts @@ -32,7 +32,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/return-reasons/{id}' + * source: |- + * curl '{backend_url}/store/return-reasons/{id}' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Return Reasons * responses: diff --git a/www/utils/generated/oas-output/operations/store/get_store_shipping-options.ts b/www/utils/generated/oas-output/operations/store/get_store_shipping-options.ts index 8ae042d9cc..15451be75f 100644 --- a/www/utils/generated/oas-output/operations/store/get_store_shipping-options.ts +++ b/www/utils/generated/oas-output/operations/store/get_store_shipping-options.ts @@ -77,7 +77,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl '{backend_url}/store/shipping-options' + * source: |- + * curl '{backend_url}/store/shipping-options' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Shipping Options * responses: diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts.ts b/www/utils/generated/oas-output/operations/store/post_store_carts.ts index 8708361c55..3a5385dd86 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts.ts @@ -39,7 +39,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl -X POST '{backend_url}/store/carts' + * source: |- + * curl -X POST '{backend_url}/store/carts' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Carts * responses: diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id].ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id].ts index 115eca31ab..8b0549cd41 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id].ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id].ts @@ -45,7 +45,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl -X POST '{backend_url}/store/carts/{id}' + * source: |- + * curl -X POST '{backend_url}/store/carts/{id}' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Carts * responses: diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_complete.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_complete.ts index ce82e90f2d..56c3332214 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_complete.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_complete.ts @@ -35,7 +35,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl -X POST '{backend_url}/store/carts/{id}/complete' + * source: |- + * curl -X POST '{backend_url}/store/carts/{id}/complete' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Carts * responses: diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items.ts index 754e7596d7..4e29d337d0 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items.ts @@ -43,7 +43,8 @@ * label: cURL * source: |- * curl -X POST '{backend_url}/store/carts/{id}/line-items' \ - * -H 'Content-Type: application/json' \ + * -H 'Content-Type: application/json' \ \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * --data-raw '{ * "variant_id": "{value}", * "quantity": 3360689747918848, diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items_[line_id].ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items_[line_id].ts index d2bb645e44..eef84409e3 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items_[line_id].ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_line-items_[line_id].ts @@ -49,7 +49,8 @@ * label: cURL * source: |- * curl -X POST '{backend_url}/store/carts/{id}/line-items/{line_id}' \ - * -H 'Content-Type: application/json' \ + * -H 'Content-Type: application/json' \ \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * --data-raw '{ * "quantity": 8980402259623936, * "metadata": {} diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_promotions.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_promotions.ts index 3d19714630..3aa49f846a 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_promotions.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_promotions.ts @@ -51,7 +51,8 @@ * label: cURL * source: |- * curl -X POST '{backend_url}/store/carts/{id}/promotions' \ - * -H 'Content-Type: application/json' \ + * -H 'Content-Type: application/json' \ \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * --data-raw '{ * "promo_codes": [ * "{value}" diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_shipping-methods.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_shipping-methods.ts index 39a3520836..9529cf451f 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_shipping-methods.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_shipping-methods.ts @@ -57,7 +57,8 @@ * label: cURL * source: |- * curl -X POST '{backend_url}/store/carts/{id}/shipping-methods' \ - * -H 'Content-Type: application/json' \ + * -H 'Content-Type: application/json' \ \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * --data-raw '{ * "option_id": "{value}" * }' diff --git a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_taxes.ts b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_taxes.ts index 209667ad24..9e86d9ca22 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_taxes.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_carts_[id]_taxes.ts @@ -38,7 +38,9 @@ * x-codeSamples: * - lang: Shell * label: cURL - * source: curl -X POST '{backend_url}/store/carts/{id}/taxes' + * source: |- + * curl -X POST '{backend_url}/store/carts/{id}/taxes' \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * tags: * - Carts * responses: diff --git a/www/utils/generated/oas-output/operations/store/post_store_customers.ts b/www/utils/generated/oas-output/operations/store/post_store_customers.ts index 9c835f83f6..330fb03559 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_customers.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_customers.ts @@ -37,7 +37,8 @@ * source: |- * curl -X POST '{backend_url}/store/customers' \ * -H 'Authorization: Bearer {token}' \ - * -H 'Content-Type: application/json' \ + * -H 'Content-Type: application/json' \ \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * --data-raw '{ * "email": "Monserrate.Leannon88@yahoo.com", * "company_name": "{value}", diff --git a/www/utils/generated/oas-output/operations/store/post_store_customers_me.ts b/www/utils/generated/oas-output/operations/store/post_store_customers_me.ts index b279daf76d..7afeaec9fa 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_customers_me.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_customers_me.ts @@ -40,7 +40,8 @@ * source: |- * curl -X POST '{backend_url}/store/customers/me' \ * -H 'Authorization: Bearer {access_token}' \ - * -H 'Content-Type: application/json' \ + * -H 'Content-Type: application/json' \ \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * --data-raw '{ * "company_name": "{value}", * "first_name": "{value}", diff --git a/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses.ts b/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses.ts index 1ec92df186..8c99137117 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses.ts @@ -98,7 +98,8 @@ * source: |- * curl -X POST '{backend_url}/store/customers/me/addresses' \ * -H 'Authorization: Bearer {access_token}' \ - * -H 'Content-Type: application/json' \ + * -H 'Content-Type: application/json' \ \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * --data-raw '{ * "metadata": {}, * "first_name": "{value}", diff --git a/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses_[address_id].ts b/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses_[address_id].ts index f247ea7ab8..e8f8ba1c7e 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses_[address_id].ts +++ b/www/utils/generated/oas-output/operations/store/post_store_customers_me_addresses_[address_id].ts @@ -104,7 +104,8 @@ * source: |- * curl -X POST '{backend_url}/store/customers/me/addresses/{address_id}' \ * -H 'Authorization: Bearer {access_token}' \ - * -H 'Content-Type: application/json' \ + * -H 'Content-Type: application/json' \ \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * --data-raw '{ * "first_name": "{value}", * }' diff --git a/www/utils/generated/oas-output/operations/store/post_store_payment-collections.ts b/www/utils/generated/oas-output/operations/store/post_store_payment-collections.ts index bc002502d1..ffa38271d6 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_payment-collections.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_payment-collections.ts @@ -36,7 +36,8 @@ * label: cURL * source: |- * curl -X POST '{backend_url}/store/payment-collections' \ - * -H 'Content-Type: application/json' \ + * -H 'Content-Type: application/json' \ \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * --data-raw '{ * "cart_id": "{value}", * "region_id": "{value}", diff --git a/www/utils/generated/oas-output/operations/store/post_store_payment-collections_[id]_payment-sessions.ts b/www/utils/generated/oas-output/operations/store/post_store_payment-collections_[id]_payment-sessions.ts index ef949a512c..2b68f3f7c6 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_payment-collections_[id]_payment-sessions.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_payment-collections_[id]_payment-sessions.ts @@ -61,7 +61,8 @@ * label: cURL * source: |- * curl -X POST '{backend_url}/store/payment-collections/{id}/payment-sessions' \ - * -H 'Content-Type: application/json' \ + * -H 'Content-Type: application/json' \ \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * --data-raw '{ * "provider_id": "{value}" * }' diff --git a/www/utils/generated/oas-output/operations/store/post_store_return.ts b/www/utils/generated/oas-output/operations/store/post_store_return.ts index 9cb19855b3..412e9346a9 100644 --- a/www/utils/generated/oas-output/operations/store/post_store_return.ts +++ b/www/utils/generated/oas-output/operations/store/post_store_return.ts @@ -14,7 +14,8 @@ * label: cURL * source: |- * curl -X POST '{backend_url}/store/return' \ - * -H 'Content-Type: application/json' \ + * -H 'Content-Type: application/json' \ \ + * -H 'x-publishable-api-key: {your_publishable_api_key}' * --data-raw '{ * "order_id": "{value}", * "items": [