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 79efe2b39c8cc..8db2a19301ed3 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 8974e807ef934..8d755aa6830a3 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 ba3ff116d76f8..a6d1ec36f6af2 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 0000000000000..5db8edcfa5f5a --- /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 391027d3d661f..fe7970d60cb08 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 dd696e73727c6..29ee68f3e6773 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 39ee5de507533..3b03eb2e04904 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 a3211d248baaf..b96f3c782c89e 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 bb2d14a18944a..63abc4e754aaa 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 3673916dd9def..e40c446ae4f1a 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 f04c8e687eb03..aea2f820a869b 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 54fddbd221bb3..f9a9e22c36fc1 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 0f0f2fc02cdfb..ec622e670e95d 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 07ce68901eeda..b91dbb7473be7 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 7d0ce0080e52e..c9d6271e81d22 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 e4889bbfe4b83..5c6ae22682c08 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 ab8c55b115bba..feff286282ee8 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 cb788620908b9..1a2159a97c012 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 2c5c2ba6e7e01..3adf880da9934 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 ba65801c7441d..f56806ef6dccf 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 bab5a014c2109..2ec825a99dc10 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 c3d541be7f267..49c62f4568896 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 23a27237c02b7..4c12f04ec3afc 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 14e804ec9e791..6bac572177071 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 77fa00de725c6..e2103679b6c9c 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 2b83e998e0378..374bb2573147a 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 df0d0170d9d42..1c53259149030 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 720db18f83e1c..7628d5d31eb00 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 53e65a1ab1b34..fa77cd40ada4e 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 6970aa4767d3a..fc07b9041c134 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 b45cb5a91eb28..d97b019f93b3c 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 bd7621e27850d..0bbebab8a8604 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 7539bbd7f5ac6..eb611235f2e0f 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 306bde43d6fbb..7adcb1e331a28 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 780cefa2efa67..2199188dcbd75 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 cc0cb5bafe850..b72d29bda31b5 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 b97508bcb23b3..1de66347f4c70 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 7492fc9b1c604..c27c16db286b0 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 403da097a25f9..c173f6455f129 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 93e9497208e13..350d798b0cb3e 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 e64e0793b5fd1..77a2d7a77a986 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 6d822e59517fd..5476ef2bf7815 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 6bd9623f74ed4..208a146cc8c8d 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 280860faaccd6..85d74a1e2c81a 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 9b16ffca5c440..49cb05ac199a9 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 5235646be4985..afe4945fc783d 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 b6251aee592f8..54c4649a353f3 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 749352c80c4ed..fc668f9d84ec2 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 cd158dae92429..eeb390325c614 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 f757bd6aa31f2..c974b610fbf3b 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 10cf1da964a1b..1b77fa3ccfe57 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 9cbd76cd90188..2c60454e94c8b 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 36f4869e240ec..d275b46f34df1 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 60e0863aa1001..695e417d1eb5e 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 8ae51b04c2aba..5be6c127208c0 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 d88b0f242dd42..1e98e2df45073 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 1a7638b320509..046ddec2f05fa 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 08c0b76c34061..26dd6a649c6a3 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 38b7cd86affe0..3186c8f1a5ed6 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 8a0e60a90a883..e0a93de2a2482 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 6354e3533164c..31b1cf1ab91d6 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 2787a571d1c7d..e6633f0af21b7 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 e40f17f7cb0ad..146eb6322c6b0 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 8ae042d9ccf78..15451be75f361 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 8708361c55bba..3a5385dd86141 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 115eca31abb97..8b0549cd41be6 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 ce82e90f2dc19..56c3332214d0f 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 754e7596d79da..4e29d337d0f87 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 d2bb645e44060..eef84409e3aea 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 3d1971463074d..3aa49f846a526 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 39a35208363fe..9529cf451f80c 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 209667ad24630..9e86d9ca22760 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 9c835f83f6c7b..330fb03559caf 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 b279daf76df43..7afeaec9fa5c6 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 1ec92df186773..8c99137117c40 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 f247ea7ab8e61..e8f8ba1c7ef7a 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 bc002502d17a2..ffa38271d6b3e 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 ef949a512c758..2b68f3f7c6b92 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 9cb19855b3690..412e9346a9936 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": [