Category update
A category update is sent when a category is added, changed, reordered or deleted. It is only sent to accounts with a category webhook URL registered.
Since 17 November 2026 it carries eventType: CATEGORY_UPDATED, like the other webhooks. Before that date it had no eventType, so if you recognised it by the category form field, that still works.
Request format
An HTTP POST with a multipart/form-data body.
Field | Type | Description |
|---|---|---|
| string | Always |
| string | A JSON-encoded string describing the category. Decode it after reading the form field. |
Headers are the same as for every webhook: Signature, Signature-V2, TimeStamp, Spendstream-Event-Id and Spendstream-Delivery-Attempt. See Webhook security and the Webhooks overview.
Fields
Field | Meaning |
|---|---|
| The category’s id (the same as |
| Its name. |
|
|
| Display order. |
| Comma-separated ids of the brands in it, or |
|
|
How to process it
Upsert by category-id and replace its brand list with brand-ids. When status is 0, remove the category.
On this page
- Category update