docs: fix create category curl example (#3962)
* Fix create category curl example Fix trailing comma on category create example * Update create-product-category.ts Fix trailing comma example * Update manage-categories.mdx remove trailing comma * Revert * Update manage-categories.mdx Fix curl example
This commit is contained in:
1 parent
9838723192
commit
6c0dcc20c9
2 files changed
+2
-2
No files matched your search
@@ -195,7 +195,7 @@ curl -L -X POST '<BACKEND_URL>/admin/product-categories' \
|
|||||||
-H 'Authorization: Bearer <API_TOKEN>' \
|
-H 'Authorization: Bearer <API_TOKEN>' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
--data-raw '{
|
--data-raw '{
|
||||||
"name": "Skinny Jeans",
|
"name": "Skinny Jeans"
|
||||||
}'
|
}'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ import { FindParams } from "../../../../types/common"
|
|||||||
* --header 'Authorization: Bearer {api_token}' \
|
* --header 'Authorization: Bearer {api_token}' \
|
||||||
* --header 'Content-Type: application/json' \
|
* --header 'Content-Type: application/json' \
|
||||||
* --data-raw '{
|
* --data-raw '{
|
||||||
* "name": "Skinny Jeans",
|
* "name": "Skinny Jeans"
|
||||||
* }'
|
* }'
|
||||||
* security:
|
* security:
|
||||||
* - api_token: []
|
* - api_token: []
|
||||||
|
|||||||
Reference in new issue
Block a user