chore(docs): Updated API Reference (v2) (#9666)
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> Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2ea766daf5
commit
8209d936a0
@@ -0,0 +1,2 @@
|
||||
curl '{backend_url}/admin/orders/{id}/line-items' \
|
||||
-H 'Authorization: Bearer {access_token}'
|
||||
@@ -2,5 +2,11 @@ curl -X POST '{backend_url}/admin/products' \
|
||||
-H 'Authorization: Bearer {access_token}' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"title": "{value}"
|
||||
"title": "{value}",
|
||||
"options": [
|
||||
{
|
||||
"title": "Default option",
|
||||
"values": ["Default option value"]
|
||||
}
|
||||
]
|
||||
}'
|
||||
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/admin/tax-regions/{id}' \
|
||||
-H 'Authorization: Bearer {access_token}'
|
||||
Reference in New Issue
Block a user