chore(docs): Generated API Reference (v2) (#8155)

Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-07-17 08:34:42 +01:00
committed by GitHub
parent 238582ee67
commit 1d40b3cc98
324 changed files with 6606 additions and 2772 deletions

View File

@@ -4,8 +4,8 @@ curl -X POST '{backend_url}/admin/orders/{id}/fulfillments/{fulfillment_id}/ship
--data-raw '{
"items": [
{
"id": "id_uHIzYcTxCHG",
"quantity": 3083340957614080
"id": "id_3QQtl2VvE73c",
"quantity": 6772917941567488
}
],
"metadata": {}

View File

@@ -0,0 +1,2 @@
curl '{backend_url}/admin/orders/{id}/preview' \
-H 'x-medusa-access-token: {api_token}'

View File

@@ -0,0 +1,2 @@
curl -X POST '{backend_url}/admin/returns/{id}/request-items' \
-H 'x-medusa-access-token: {api_token}'

View File

@@ -0,0 +1,2 @@
curl -X DELETE '{backend_url}/admin/returns/{id}/request-items/{action_id}' \
-H 'x-medusa-access-token: {api_token}'

View File

@@ -0,0 +1,2 @@
curl -X POST '{backend_url}/admin/returns/{id}/request-items/{action_id}' \
-H 'x-medusa-access-token: {api_token}'

View File

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

View File

@@ -0,0 +1,6 @@
curl -X POST '{backend_url}/admin/returns/{id}/shipping-method' \
-H 'x-medusa-access-token: {api_token}' \
-H 'Content-Type: application/json' \
--data-raw '{
"shipping_option_id": "{value}"
}'

View File

@@ -0,0 +1,2 @@
curl -X DELETE '{backend_url}/admin/returns/{id}/shipping-method/{action_id}' \
-H 'x-medusa-access-token: {api_token}'

View File

@@ -0,0 +1,2 @@
curl -X POST '{backend_url}/admin/returns/{id}/shipping-method/{action_id}' \
-H 'x-medusa-access-token: {api_token}'