Contents
Table of Contents | ||
---|---|---|
|
Store support ticket event webhook
Webhook type
STORE_SUPPORT_TICKET_EVENT
Payload documented here.
The
type
key is always"STORE"
.
General support ticket event webhook
Webhook type
GENERAL_SUPPORT_TICKET_EVENT
.Payload documented here.
The
type
key is always"GENERAL"
. Otherwise has the same payload structure as the store support ticket event.
Submit a ticket endpoint
Documented here.
Vendors can obtain the applicable customer support categories (
category
key), subcategories (subcategory
key) and subcategories IDs (subcategoryId
key) from our content management system. You can find how in the reference doc [add link].Sanity endpoint to get categories IDs, names and referenced subcategories:
Code Block https://czqk28jt.api.sanity.io/v2021-10-21/data/query/[environment]_[brand]_[country]?query=*%5B%0A++_type%3D%3D%22supportCategoryGroup%22%0A%5D%0A%7Bname%2CsupportSubcategories%7D
Example for Burger King Portugal prod: https://czqk28jt.api.sanity.io/v2021-10-21/data/query/prod_bk_pt?query=*[ ++_type%3D%3D"supportCategoryGroup" ] {name%2CsupportSubcategories}
Sanity endpoint to get subcategories IDs [are vendors supposed to use the Sanity subcategory ID or the Knoweldge Force ID] and names:
Code Block https://czqk28jt.api.sanity.io/v2021-10-21/data/query/[environment]_[brand]_[country]?query=*%5B%0A++_type%3D%3D%22supportSubcategory%22%0A%5D%0A%7B_id%2Cname%2CknowledgeForceIssueId%7D
Example for Burger King Portugal prod: https://czqk28jt.api.sanity.io/v2021-10-21/data/query/prod_bk_pt?query=*[ ++_type%3D%3D"supportSubcategory" ] {_id%2Cname%2CknowledgeForceIssueId}