docs: update curl request to /admin/products (#9641)

Closes DX-1026
This commit is contained in:
Shahed Nasser
2024-10-17 19:21:31 +03:00
committed by GitHub
parent 4ca5510da9
commit 8fddabce04
5 changed files with 26 additions and 1 deletions
@@ -50,7 +50,13 @@
* -H 'Authorization: Bearer {access_token}' \
* -H 'Content-Type: application/json' \
* --data-raw '{
* "title": "{value}"
* "title": "{value}",
* "options": [
* {
* "title": "Default option",
* "values": ["Default option value"]
* }
* ]
* }'
* tags:
* - Products
@@ -5,6 +5,7 @@
* x-schemaName: AdminCreateProduct
* required:
* - title
* - options
* properties:
* title:
* type: string