chore(docs): Updated API Reference (v2) (#9174)

Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-09-18 11:30:02 +00:00
committed by GitHub
parent a227d73e4f
commit 1c4d3f32cb
404 changed files with 2018 additions and 2141 deletions

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/api-keys' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/api-keys' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"title": "{value}",

View File

@@ -1,2 +1,2 @@
curl -X DELETE '{backend_url}/admin/api-keys/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/api-keys/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/api-keys/{id}' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"title": "{value}"

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/api-keys/{id}/revoke' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/api-keys/{id}/sales-channels' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/campaigns' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/campaigns' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"name": "Gunner",

View File

@@ -1,2 +1,2 @@
curl -X DELETE '{backend_url}/admin/campaigns/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/campaigns/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/campaigns/{id}' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"description": "{value}",

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/campaigns/{id}/promotions' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/claims' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/claims' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"type": "{value}",

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/claims/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/claims/{id}/cancel' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/claims/{id}/claim-items' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X DELETE '{backend_url}/admin/claims/{id}/claim-items/{action_id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/claims/{id}/claim-items/{action_id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/claims/{id}/inbound/items' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1 +1 @@
curl -X DELETE '{backend_url}/admin/claims/{id}/inbound/items/{action_id}' \ -H 'x-medusa-access-token: {api_token}'
curl -X DELETE '{backend_url}/admin/claims/{id}/inbound/items/{action_id}' \ -H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/claims/{id}/inbound/items/{action_id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/claims/{id}/inbound/shipping-method' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"shipping_option_id": "{value}"

View File

@@ -1 +1 @@
curl -X DELETE '{backend_url}/admin/claims/{id}/inbound/shipping-method/{action_id}' \ -H 'x-medusa-access-token: {api_token}'
curl -X DELETE '{backend_url}/admin/claims/{id}/inbound/shipping-method/{action_id}' \ -H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/claims/{id}/inbound/shipping-method/{action_id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/claims/{id}/outbound/items' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1 +1 @@
curl -X DELETE '{backend_url}/admin/claims/{id}/outbound/items/{action_id}' \ -H 'x-medusa-access-token: {api_token}'
curl -X DELETE '{backend_url}/admin/claims/{id}/outbound/items/{action_id}' \ -H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/claims/{id}/outbound/items/{action_id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/claims/{id}/outbound/shipping-method' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"shipping_option_id": "{value}"

View File

@@ -1 +1 @@
curl -X DELETE '{backend_url}/admin/claims/{id}/outbound/shipping-method/{action_id}' \ -H 'x-medusa-access-token: {api_token}'
curl -X DELETE '{backend_url}/admin/claims/{id}/outbound/shipping-method/{action_id}' \ -H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/claims/{id}/outbound/shipping-method/{action_id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X DELETE '{backend_url}/admin/claims/{id}/request' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/claims/{id}/request' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/collections' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/collections' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"title": "{value}",

View File

@@ -1,2 +1,2 @@
curl -X DELETE '{backend_url}/admin/collections/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/collections/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/collections/{id}' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"metadata": {}

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/collections/{id}/products' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/currencies' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/currencies/{code}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/customer-groups' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/customer-groups' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"name": "Solon",

View File

@@ -1,2 +1,2 @@
curl -X DELETE '{backend_url}/admin/customer-groups/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/customer-groups/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/customer-groups/{id}' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"name": "Corbin",

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/customer-groups/{id}/customers' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/customers' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/customers' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"email": "Tomas.Toy16@yahoo.com",

View File

@@ -1,2 +1,2 @@
curl -X DELETE '{backend_url}/admin/customers/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/customers/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/customers/{id}' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"email": "Daren_Rodriguez-Rutherford93@gmail.com",

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/customers/{id}/addresses' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/customers/{id}/addresses' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"address_name": "{value}",

View File

@@ -1 +1 @@
curl -X DELETE '{backend_url}/admin/customers/{id}/addresses/{address_id}' \ -H 'x-medusa-access-token: {api_token}'
curl -X DELETE '{backend_url}/admin/customers/{id}/addresses/{address_id}' \ -H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/customers/{id}/addresses/{address_id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/customers/{id}/addresses/{address_id}' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"address_name": "{value}",

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/draft-orders' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/draft-orders' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"sales_channel_id": "{value}",

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/draft-orders/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/exchanges' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/exchanges' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"order_id": "{value}",

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/exchanges/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/exchanges/{id}/cancel' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/exchanges/{id}/inbound/items' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1 +1 @@
curl -X DELETE '{backend_url}/admin/exchanges/{id}/inbound/items/{action_id}' \ -H 'x-medusa-access-token: {api_token}'
curl -X DELETE '{backend_url}/admin/exchanges/{id}/inbound/items/{action_id}' \ -H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/exchanges/{id}/inbound/items/{action_id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/exchanges/{id}/inbound/shipping-method' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"shipping_option_id": "{value}"

View File

@@ -1 +1 @@
curl -X DELETE '{backend_url}/admin/exchanges/{id}/inbound/shipping-method/{action_id}' \ -H 'x-medusa-access-token: {api_token}'
curl -X DELETE '{backend_url}/admin/exchanges/{id}/inbound/shipping-method/{action_id}' \ -H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/exchanges/{id}/inbound/shipping-method/{action_id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/exchanges/{id}/outbound/items' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1 +1 @@
curl -X DELETE '{backend_url}/admin/exchanges/{id}/outbound/items/{action_id}' \ -H 'x-medusa-access-token: {api_token}'
curl -X DELETE '{backend_url}/admin/exchanges/{id}/outbound/items/{action_id}' \ -H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/exchanges/{id}/outbound/items/{action_id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/exchanges/{id}/outbound/shipping-method' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"shipping_option_id": "{value}"

View File

@@ -1 +1 @@
curl -X DELETE '{backend_url}/admin/exchanges/{id}/outbound/shipping-method/{action_id}'\ -H 'x-medusa-access-token: {api_token}'
curl -X DELETE '{backend_url}/admin/exchanges/{id}/outbound/shipping-method/{action_id}'\ -H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/exchanges/{id}/outbound/shipping-method/{action_id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X DELETE '{backend_url}/admin/exchanges/{id}/request' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/exchanges/{id}/request' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/fulfillment-providers' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X DELETE '{backend_url}/admin/fulfillment-sets/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/fulfillment-sets/{id}/service-zones' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"name": "Layla"

View File

@@ -1 +1 @@
curl -X DELETE '{backend_url}/admin/fulfillment-sets/{id}/service-zones/{zone_id}' \ -H 'x-medusa-access-token: {api_token}'
curl -X DELETE '{backend_url}/admin/fulfillment-sets/{id}/service-zones/{zone_id}' \ -H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/fulfillment-sets/{id}/service-zones/{zone_id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/fulfillment-sets/{id}/service-zones/{zone_id}' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"name": "Elvis"

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/fulfillments' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"location_id": "{value}",

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/fulfillments/{id}/cancel' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/fulfillments/{id}/shipment' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"labels": [

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/inventory-items' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/inventory-items' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"sku": "{value}",

View File

@@ -1,2 +1,2 @@
curl -X DELETE '{backend_url}/admin/inventory-items/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/inventory-items/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/inventory-items/{id}' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"sku": "{value}",

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/inventory-items/{id}/location-levels' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,5 +1,5 @@
curl -X POST '{backend_url}/admin/inventory-items/{id}/location-levels' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"location_id": "{value}"

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/inventory-items/{id}/location-levels/batch' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1 +1 @@
curl -X DELETE '{backend_url}/admin/inventory-items/{id}/location-levels/{location_id}' \ -H 'x-medusa-access-token: {api_token}'
curl -X DELETE '{backend_url}/admin/inventory-items/{id}/location-levels/{location_id}' \ -H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl -X POST '{backend_url}/admin/inventory-items/{id}/location-levels/{location_id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/notifications' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

View File

@@ -1,2 +1,2 @@
curl '{backend_url}/admin/notifications/{id}' \
-H 'x-medusa-access-token: {api_token}'
-H 'Authorization: Bearer {access_token}'

Some files were not shown because too many files have changed in this diff Show More