UpdateVoucherUsage is a JSON Structure definition published by Flipdish, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-structure/marketing-update-voucher-usage-structure.json",
"name": "UpdateVoucherUsage",
"description": "Update Voucher Usage",
"type": "object",
"properties": {
"IsUsed": {
"description": "Flag indicating whether the voucher is used",
"type": "boolean",
"example": true
},
"UsedByCustomerId": {
"description": "Indicates Customer that used the voucher.",
"type": "int32",
"nullable": true,
"example": 500123
},
"TransactionKey": {
"description": "An opaque string, to ensure idempotency. This allows for safely retrying requests without accidentally performing the same stamp operation twice. \r\nThis will typically contain the the ID of the sale order.",
"type": "string",
"example": "string"
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.