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:
github-actions[bot]
2024-10-18 17:14:26 +00:00
committed by GitHub
parent 2ea766daf5
commit 8209d936a0
595 changed files with 33468 additions and 13327 deletions

View File

@@ -0,0 +1,2 @@
curl '{backend_url}/admin/orders/{id}/line-items' \
-H 'Authorization: Bearer {access_token}'

View File

@@ -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"]
}
]
}'

View File

@@ -0,0 +1,2 @@
curl -X POST '{backend_url}/admin/tax-regions/{id}' \
-H 'Authorization: Bearer {access_token}'