docs: create docs workspace (#5174)
* docs: migrate ui docs to docs universe * created yarn workspace * added eslint and tsconfig configurations * fix eslint configurations * fixed eslint configurations * shared tailwind configurations * added shared ui package * added more shared components * migrating more components * made details components shared * move InlineCode component * moved InputText * moved Loading component * Moved Modal component * moved Select components * Moved Tooltip component * moved Search components * moved ColorMode provider * Moved Notification components and providers * used icons package * use UI colors in api-reference * moved Navbar component * used Navbar and Search in UI docs * added Feedback to UI docs * general enhancements * fix color mode * added copy colors file from ui-preset * added features and enhancements to UI docs * move Sidebar component and provider * general fixes and preparations for deployment * update docusaurus version * adjusted versions * fix output directory * remove rootDirectory property * fix yarn.lock * moved code component * added vale for all docs MD and MDX * fix tests * fix vale error * fix deployment errors * change ignore commands * add output directory * fix docs test * general fixes * content fixes * fix announcement script * added changeset * fix vale checks * added nofilter option * fix vale error
This commit is contained in:
1 parent
19c5d5ba36
commit
fa7c94b4cc
3209 files changed
+32188
-31018
No files matched your search
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/apps' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
curl -X POST '{backend_url}/admin/apps/authorizations' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"application_name": "example",
|
||||
"state": "ready",
|
||||
"code": "token"
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/auth' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/auth' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/auth' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"email": "user@example.com",
|
||||
"password": "supersecret"
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/batch-jobs' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,7 @@
|
||||
curl -X POST '{backend_url}/admin/batch-jobs' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
--data-raw '{
|
||||
"type": "product-export",
|
||||
"context": { }
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/batch-jobs/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/batch-jobs/{id}/cancel' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/batch-jobs/{id}/confirm' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/collections' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/collections' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"title": "New Collection"
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/collections/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/collections/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/collections/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"title": "New Collection"
|
||||
}'
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
curl -X DELETE '{backend_url}/admin/collections/{id}/products/batch' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"product_ids": [
|
||||
"prod_01G1G5V2MBA328390B5AXJ610F"
|
||||
]
|
||||
}'
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
curl -X POST '{backend_url}/admin/collections/{id}/products/batch' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"product_ids": [
|
||||
"prod_01G1G5V2MBA328390B5AXJ610F"
|
||||
]
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/currencies' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/currencies/{code}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"includes_tax": true
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/customer-groups' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/customer-groups' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"name": "VIP"
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/customer-groups/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/customer-groups/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/customer-groups/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"name": "VIP"
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/customer-groups/{id}/customers' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
curl -X DELETE '{backend_url}/admin/customer-groups/{id}/customers/batch' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"customer_ids": [
|
||||
{
|
||||
"id": "cus_01G2Q4BS9GAHDBMDEN4ZQZCJB2"
|
||||
}
|
||||
]
|
||||
}'
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
curl -X POST '{backend_url}/admin/customer-groups/{id}/customers/batch' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"customer_ids": [
|
||||
{
|
||||
"id": "cus_01G2Q4BS9GAHDBMDEN4ZQZCJB2"
|
||||
}
|
||||
]
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/customers' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,9 @@
|
||||
curl -X POST '{backend_url}/admin/customers' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"email": "user@example.com",
|
||||
"first_name": "Caterina",
|
||||
"last_name": "Yost",
|
||||
"password": "supersecret"
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/customers/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/customers/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"first_name": "Dolly"
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/discounts' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,12 @@
|
||||
curl -X POST '{backend_url}/admin/discounts' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"code": "TEST",
|
||||
"rule": {
|
||||
"type": "fixed",
|
||||
"value": 10,
|
||||
"allocation": "item"
|
||||
},
|
||||
"regions": ["reg_XXXXXXXX"]
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/discounts/code/{code}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/discounts/{id}/conditions' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"operator": "in"
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/discounts/{id}/conditions/{condition_id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/discounts/{id}/conditions/{condition_id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
curl -X POST '{backend_url}/admin/discounts/{id}/conditions/{condition}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"products": [
|
||||
"prod_01G1G5V2MBA328390B5AXJ610F"
|
||||
]
|
||||
}'
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
curl -X DELETE '{backend_url}/admin/discounts/{id}/conditions/{condition_id}/batch' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"resources": [{ "id": "item_id" }]
|
||||
}'
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/discounts/{id}/conditions/{condition_id}/batch' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"resources": [{ "id": "item_id" }]
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/discounts/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/discounts/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/discounts/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"code": "TEST"
|
||||
}'
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/discounts/{id}/dynamic-codes' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"code": "TEST"
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/discounts/{id}/dynamic-codes/{code}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/discounts/{id}/regions/{region_id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/discounts/{id}/regions/{region_id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/draft-orders' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,17 @@
|
||||
curl -X POST '{backend_url}/admin/draft-orders' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"email": "user@example.com",
|
||||
"region_id": "{region_id}"
|
||||
"items": [
|
||||
{
|
||||
"quantity": 1
|
||||
}
|
||||
],
|
||||
"shipping_methods": [
|
||||
{
|
||||
"option_id": "{option_id}"
|
||||
}
|
||||
]
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/draft-orders/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/draft-orders/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/draft-orders/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"email": "user@example.com"
|
||||
}'
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/draft-orders/{id}/line-items' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"quantity": 1
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/draft-orders/{id}/line-items/{line_id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/draft-orders/{id}/line-items/{line_id}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"quantity": 1
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/draft-orders/{id}/pay' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/gift-cards' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/gift-cards' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"region_id": "{region_id}"
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/gift-cards/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/gift-cards/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/gift-cards/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"region_id": "{region_id}"
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/inventory-items' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/inventory-items' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"variant_id": "variant_123",
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/inventory-items/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/inventory-items/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/inventory-items/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"origin_country": "US"
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/inventory-items/{id}/location-levels' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
curl -X POST '{backend_url}/admin/inventory-items/{id}/location-levels' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"location_id": "sloc_123",
|
||||
"stocked_quantity": 10
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/inventory-items/{id}/location-levels/{location_id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/inventory-items/{id}/location-levels/{location_id}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"stocked_quantity": 15
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/invites' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,7 @@
|
||||
curl -X POST '{backend_url}/admin/invites' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"user": "user@example.com",
|
||||
"role": "admin"
|
||||
}'
|
||||
@@ -0,0 +1,11 @@
|
||||
curl -X POST '{backend_url}/admin/invites/accept' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"token": "{token}",
|
||||
"user": {
|
||||
"first_name": "Brigitte",
|
||||
"last_name": "Collier",
|
||||
"password": "supersecret"
|
||||
}
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/invites/{invite_id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/invites/{invite_id}/resend' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/notes' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,8 @@
|
||||
curl -X POST '{backend_url}/admin/notes' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"resource_id": "{resource_id}",
|
||||
"resource_type": "order",
|
||||
"value": "We delivered this order"
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/notes/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/notes/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/notes/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"value": "We delivered this order"
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/notifications' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/notifications/{id}/resend' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/order-edits' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,4 @@
|
||||
curl -X POST '{backend_url}/admin/order-edits' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{ "order_id": "my_order_id", "internal_note": "my_optional_note" }'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/order-edits/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/order-edits/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/order-edits/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"internal_note": "internal reason XY"
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/order-edits/{id}/cancel' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/order-edits/{id}/changes/{change_id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/order-edits/{id}/confirm' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
curl -X POST '{backend_url}/admin/order-edits/{id}/items' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{ "variant_id": "variant_01G1G5V2MRX2V3PVSR2WXYPFB6", "quantity": 3 }'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X DELETE '{backend_url}/admin/order-edits/{id}/items/{item_id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
curl -X POST '{backend_url}/admin/order-edits/{id}/items/{item_id}' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{ "quantity": 5 }'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/order-edits/{id}/request' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/orders' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/orders/{id}' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,6 @@
|
||||
curl -X POST '{backend_url}/admin/orders/adasda' \
|
||||
-H 'Authorization: Bearer {api_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"email": "user@example.com"
|
||||
}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/orders/{id}/archive' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/orders/{id}/cancel' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/orders/{id}/capture' \
|
||||
-H 'Authorization: Bearer {api_token}'
|
||||
Loaded 100 of 3209 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user