Commerce
Delete a URL redirect
DELETEhttps:/ / zernio.com/ api/ v1/ commerce/ redirects/ {redirectId}
Deletes the redirect; the old path answers 404 again. Shopify only. Needs navigation.write.
PlatformsShopify
Authentication
AuthorizationBearer tokenRequired
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
redirectIdstringRequired
Platform-native id.
Query parameters
accountIdstringRequired
Connected store SocialAccount id.
Responses
Success· the request worked
Errors· the request failed
Update a URL redirect
Changes the redirect's `path` and/or `target`. Shopify only. Needs navigation.write.
Record a marketing activity
Creates or updates (by `remoteId`) an activity in the store's Marketing section, so the merchant sees a post, ad or message you ran for them, with its link and UTM parameters for attribution. Use your own id (for example the Zernio post or ad id) as `remoteId`.