Body
-
Minimum length is
1
. -
value string | null
curl \
-X PUT http://test.api.fygi.store/external/api/discount-codes \
-H "authorization: $API_KEY" \
-H "Content-Type: application/json" \
-d '[{"id":"string","value":"string"}]'
curl \
-X PUT http://test.api.fygi.store/external/api/discount-codes \
-H "authorization: $API_KEY" \
-H "Content-Type: text/json"
curl \
-X PUT http://test.api.fygi.store/external/api/discount-codes \
-H "authorization: $API_KEY" \
-H "Content-Type: application/*+json"
[
{
"id": "string",
"value": "string"
}
]
[
{
"id": "string",
"value": "string"
}
]
[
{
"id": "string",
"value": "string"
}
]
{
"id": 42,
"value": "string"
}
{
"id": 42,
"value": "string"
}