Announce Change
/api/store-content/changedTells core that the calling plugin changed data the store's storefront renders, so pages cached before the change stop being served. Call it after the change is committed: announced earlier, a page rendered from the old data can be cached as current.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/store-content/changed"Current GET
The customer the storefront visitor whose request the calling plugin handles is signed in as: their id, their email and whether they verified it. Null for a guest, an expired session, a customer the store no longer has, and every invocation the storefront did not mint for a visitor's request to the plugin's public routes, such as a webhook's. The customer comes from the invocation token, never from the request. Requires the store to have granted the plugin customers:read.
Get Store Profile GET
The store's public identity: its name, its currency, every change of its currency with the rate it was made at, and its storefront's URL. Scoped to the store the invocation token forwarded in x-novinzo-plugin-invocation was minted for. Needs no permission: nothing of it is private to the seller.
