Links a text layer of a design to a field of one of the store's own records, so the words on the design come from the bu
Changed onLinks a text layer of a design to a field of one of the store's own records, so the words on the design come from the business and stay checked against it: a product's title, price or earlier price, a promotion's name, discount or last day, or a customer review's words, reviewer or rating. The layer's words are replaced where they already show such a value, written the way the layer already wrote it; otherwise the layer shows the value alone. Every later export and post reads the record again and stops when the design no longer matches it. Saved as a new version of the same design; locked layers are left alone. Costs no credits.
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopescreative:write
Headers
Optional; honoured when sent. A unique string you choose for this request; send the SAME key when retrying and the first answer is returned instead of writing twice (idempotent-replayed: true). The same key with other arguments is 409 idempotency_conflict. If the header and idempotency_key are both sent they must be equal.
Request body
The design id.
The text layer to link, by its id in the design.
What kind of record the words come from.
The product, promotion or review id.
For a product: title, price or compare_at (its earlier price). For a promotion: name, discount or ends. For a review: quote (its words, inside the layer's quotation marks), author or rating.
Optional. A unique string you choose for this request. Send the SAME key when retrying after a timeout and Magistry returns the original outcome instead of performing the write twice. Reusing a key with different arguments is refused rather than replayed.
Response
Tool result
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning