PUT
/external/api/discount-codes
cURL (application/json)
curl \
--request PUT 'https://demo.api.fygi.store/external/api/discount-codes' \
--header "authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '[{"id":"string","value":"string"}]'
curl \
--request PUT 'https://demo.api.fygi.store/external/api/discount-codes' \
--header "authorization: $API_KEY" \
--header "Content-Type: text/json"
curl \
--request PUT 'https://demo.api.fygi.store/external/api/discount-codes' \
--header "authorization: $API_KEY" \
--header "Content-Type: application/*+json"
Request examples
[
{
"id": "string",
"value": "string"
}
]
Request examples
[
{
"id": "string",
"value": "string"
}
]
Request examples
[
{
"id": "string",
"value": "string"
}
]
Response examples (200)
{
"id": 42,
"value": "string"
}
Response examples (200)
{
"id": 42,
"value": "string"
}