Skip to content

Link Group

POST {api-url}/linkGroup?ns={community}

Link a retailer group to an existing voucher type. This grants the group access to transact with and manage that specific voucher.

FieldTypeRequirementDescription
GroupStringRequiredThe unique name of the group.
VoucherTypeStringRequiredThe identifier of the voucher type to link.
MetadataStringOptionalAny other detail to store with this transaction.
{
"Group": "Retailers",
"VoucherType": "168Cash",
"Metadata": ""
}
Terminal window
curl -X POST '{api-url}/linkGroup?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"Group":"Retailers","VoucherType":"168Cash","Metadata":""}'