oas: update authorization header in cURL examples (#9100)
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/api-keys/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Api Keys
|
||||
* responses:
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/campaigns/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Campaigns
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/claims/{id}/claim-items/{action_id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Claims
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@
|
||||
* x-codeSamples:
|
||||
* - lang: Shell
|
||||
* label: cURL
|
||||
* source: "curl -X DELETE '{backend_url}/admin/claims/{id}/inbound/items/{action_id}' \\ -H 'x-medusa-access-token: {api_token}'"
|
||||
* source: "curl -X DELETE '{backend_url}/admin/claims/{id}/inbound/items/{action_id}' \\ -H 'Authorization: Bearer {access_token}'"
|
||||
* tags:
|
||||
* - Claims
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@
|
||||
* x-codeSamples:
|
||||
* - lang: Shell
|
||||
* label: cURL
|
||||
* source: "curl -X DELETE '{backend_url}/admin/claims/{id}/inbound/shipping-method/{action_id}' \\ -H 'x-medusa-access-token: {api_token}'"
|
||||
* source: "curl -X DELETE '{backend_url}/admin/claims/{id}/inbound/shipping-method/{action_id}' \\ -H 'Authorization: Bearer {access_token}'"
|
||||
* tags:
|
||||
* - Claims
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@
|
||||
* x-codeSamples:
|
||||
* - lang: Shell
|
||||
* label: cURL
|
||||
* source: "curl -X DELETE '{backend_url}/admin/claims/{id}/outbound/items/{action_id}' \\ -H 'x-medusa-access-token: {api_token}'"
|
||||
* source: "curl -X DELETE '{backend_url}/admin/claims/{id}/outbound/items/{action_id}' \\ -H 'Authorization: Bearer {access_token}'"
|
||||
* tags:
|
||||
* - Claims
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@
|
||||
* x-codeSamples:
|
||||
* - lang: Shell
|
||||
* label: cURL
|
||||
* source: "curl -X DELETE '{backend_url}/admin/claims/{id}/outbound/shipping-method/{action_id}' \\ -H 'x-medusa-access-token: {api_token}'"
|
||||
* source: "curl -X DELETE '{backend_url}/admin/claims/{id}/outbound/shipping-method/{action_id}' \\ -H 'Authorization: Bearer {access_token}'"
|
||||
* tags:
|
||||
* - Claims
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/claims/{id}/request' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Claims
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/collections/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Collections
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/customer-groups/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Customer Groups
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/customers/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Customers
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@
|
||||
* x-codeSamples:
|
||||
* - lang: Shell
|
||||
* label: cURL
|
||||
* source: "curl -X DELETE '{backend_url}/admin/customers/{id}/addresses/{address_id}' \\ -H 'x-medusa-access-token: {api_token}'"
|
||||
* source: "curl -X DELETE '{backend_url}/admin/customers/{id}/addresses/{address_id}' \\ -H 'Authorization: Bearer {access_token}'"
|
||||
* tags:
|
||||
* - Customers
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@
|
||||
* x-codeSamples:
|
||||
* - lang: Shell
|
||||
* label: cURL
|
||||
* source: "curl -X DELETE '{backend_url}/admin/exchanges/{id}/inbound/items/{action_id}' \\ -H 'x-medusa-access-token: {api_token}'"
|
||||
* source: "curl -X DELETE '{backend_url}/admin/exchanges/{id}/inbound/items/{action_id}' \\ -H 'Authorization: Bearer {access_token}'"
|
||||
* tags:
|
||||
* - Exchanges
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@
|
||||
* x-codeSamples:
|
||||
* - lang: Shell
|
||||
* label: cURL
|
||||
* source: "curl -X DELETE '{backend_url}/admin/exchanges/{id}/inbound/shipping-method/{action_id}' \\ -H 'x-medusa-access-token: {api_token}'"
|
||||
* source: "curl -X DELETE '{backend_url}/admin/exchanges/{id}/inbound/shipping-method/{action_id}' \\ -H 'Authorization: Bearer {access_token}'"
|
||||
* tags:
|
||||
* - Exchanges
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@
|
||||
* x-codeSamples:
|
||||
* - lang: Shell
|
||||
* label: cURL
|
||||
* source: "curl -X DELETE '{backend_url}/admin/exchanges/{id}/outbound/items/{action_id}' \\ -H 'x-medusa-access-token: {api_token}'"
|
||||
* source: "curl -X DELETE '{backend_url}/admin/exchanges/{id}/outbound/items/{action_id}' \\ -H 'Authorization: Bearer {access_token}'"
|
||||
* tags:
|
||||
* - Exchanges
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@
|
||||
* x-codeSamples:
|
||||
* - lang: Shell
|
||||
* label: cURL
|
||||
* source: "curl -X DELETE '{backend_url}/admin/exchanges/{id}/outbound/shipping-method/{action_id}'\\ -H 'x-medusa-access-token: {api_token}'"
|
||||
* source: "curl -X DELETE '{backend_url}/admin/exchanges/{id}/outbound/shipping-method/{action_id}'\\ -H 'Authorization: Bearer {access_token}'"
|
||||
* tags:
|
||||
* - Exchanges
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/exchanges/{id}/request' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Exchanges
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/fulfillment-sets/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Fulfillment Sets
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
* x-codeSamples:
|
||||
* - lang: Shell
|
||||
* label: cURL
|
||||
* source: "curl -X DELETE '{backend_url}/admin/fulfillment-sets/{id}/service-zones/{zone_id}' \\ -H 'x-medusa-access-token: {api_token}'"
|
||||
* source: "curl -X DELETE '{backend_url}/admin/fulfillment-sets/{id}/service-zones/{zone_id}' \\ -H 'Authorization: Bearer {access_token}'"
|
||||
* tags:
|
||||
* - Fulfillment Sets
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/inventory-items/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Inventory Items
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@
|
||||
* x-codeSamples:
|
||||
* - lang: Shell
|
||||
* label: cURL
|
||||
* source: "curl -X DELETE '{backend_url}/admin/inventory-items/{id}/location-levels/{location_id}' \\ -H 'x-medusa-access-token: {api_token}'"
|
||||
* source: "curl -X DELETE '{backend_url}/admin/inventory-items/{id}/location-levels/{location_id}' \\ -H 'Authorization: Bearer {access_token}'"
|
||||
* tags:
|
||||
* - Inventory Items
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/order-edits/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Order Edits
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/order-edits/{id}/items/{action_id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Order Edits
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/order-edits/{id}/shipping-method/{action_id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Order Edits
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/payment-collections/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Payment Collections
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/price-lists/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Price Lists
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/price-preferences/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Price Preferences
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/product-categories/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Product Categories
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/product-tags/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Product Tags
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/product-types/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Product Types
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/products/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Products
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/products/{id}/options/{option_id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Products
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/products/{id}/variants/{variant_id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Products
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/products/{id}/variants/{variant_id}/inventory-items/{inventory_item_id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Products
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/promotions/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Promotions
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/refund-reasons/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Refund Reasons
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/regions/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Regions
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/reservations/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Reservations
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/return-reasons/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Return Reasons
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/returns/{id}/dismiss-items/{action_id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Returns
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/returns/{id}/receive-items/{action_id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Returns
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/returns/{id}/receive' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Returns
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/returns/{id}/request-items/{action_id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Returns
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/returns/{id}/request' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Returns
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/returns/{id}/shipping-method/{action_id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Returns
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/sales-channels/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Sales Channels
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/shipping-options/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Shipping Options
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/shipping-profiles/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Shipping Profiles
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/stock-locations/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Stock Locations
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/tax-rates/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Tax Rates
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/tax-rates/{id}/rules/{rule_id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Tax Rates
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/tax-regions/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Tax Regions
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl -X DELETE '{backend_url}/admin/uploads/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Uploads
|
||||
* responses:
|
||||
|
||||
@@ -1059,7 +1059,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/api-keys' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Api Keys
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/api-keys/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Api Keys
|
||||
* responses:
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/campaigns' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Campaigns
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/campaigns/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Campaigns
|
||||
* responses:
|
||||
|
||||
@@ -819,7 +819,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/claims' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Claims
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/claims/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Claims
|
||||
* responses:
|
||||
|
||||
@@ -819,7 +819,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/collections' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Collections
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/collections/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Collections
|
||||
* responses:
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/currencies' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Currencies
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/currencies/{code}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Currencies
|
||||
* responses:
|
||||
|
||||
@@ -834,7 +834,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/customer-groups' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Customer Groups
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/customer-groups/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Customer Groups
|
||||
* responses:
|
||||
|
||||
@@ -3340,7 +3340,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/customers' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Customers
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/customers/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Customers
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -160,7 +160,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/customers/{id}/addresses' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Customers
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/customers/{id}/addresses/{address_id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Customers
|
||||
* responses:
|
||||
|
||||
@@ -1456,7 +1456,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/draft-orders' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Draft Orders
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/draft-orders/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Draft Orders
|
||||
* responses:
|
||||
|
||||
@@ -819,7 +819,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/exchanges' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Exchanges
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/exchanges/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Exchanges
|
||||
* responses:
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/fulfillment-providers' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Fulfillment Providers
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/fulfillment-sets/{id}/service-zones/{zone_id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Fulfillment Sets
|
||||
* responses:
|
||||
|
||||
@@ -391,7 +391,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/inventory-items' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Inventory Items
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/inventory-items/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Inventory Items
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -94,7 +94,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/inventory-items/{id}/location-levels' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Inventory Items
|
||||
* responses:
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/notifications' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Notifications
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/notifications/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Notifications
|
||||
* responses:
|
||||
|
||||
@@ -636,7 +636,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/orders' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Orders
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/orders/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Orders
|
||||
* responses:
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/orders/{id}/changes' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Orders
|
||||
* responses:
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/orders/{id}/preview' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Orders
|
||||
* responses:
|
||||
|
||||
@@ -467,7 +467,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/payments' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Payments
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/payments/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Payments
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/payments/payment-providers' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Payments
|
||||
* responses:
|
||||
|
||||
@@ -360,7 +360,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/price-lists' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Price Lists
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/price-lists/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Price Lists
|
||||
* responses:
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/price-preferences' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Price Preferences
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/price-preferences/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Price Preferences
|
||||
* responses:
|
||||
|
||||
@@ -541,7 +541,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/product-categories' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Product Categories
|
||||
* responses:
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/product-categories/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Product Categories
|
||||
* responses:
|
||||
|
||||
@@ -467,7 +467,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/product-tags' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Product Tags
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/product-tags/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Product Tags
|
||||
* responses:
|
||||
|
||||
@@ -467,7 +467,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/product-types' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Product Types
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/product-types/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Product Types
|
||||
* responses:
|
||||
|
||||
@@ -471,7 +471,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/product-variants' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Product Variants
|
||||
* responses:
|
||||
|
||||
@@ -592,7 +592,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/products' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Products
|
||||
* responses:
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* label: cURL
|
||||
* source: |-
|
||||
* curl '{backend_url}/admin/products/{id}' \
|
||||
* -H 'x-medusa-access-token: {api_token}'
|
||||
* -H 'Authorization: Bearer {access_token}'
|
||||
* tags:
|
||||
* - Products
|
||||
* responses:
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user