store:discounts plus the corresponding current financial permission of the token creator. Discount API fields use camelCase. Feature must be enabled. Versions enforce optimistic concurrency. No hard deletion; archive campaigns instead.curl --location --request PUT '/store/discounts/agents/' \
--header 'Content-Type: application/json' \
--data '{
"version": 0,
"enabled": true,
"allowCoupons": true,
"minimumValue": 1,
"rules": {
"kind": "percent",
"value": 1,
"maxDiscountCents": 1,
"minimumCents": 0,
"productUuids": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"categoryUuids": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}'{
"property1": "string",
"property2": "string"
}