propose_write

Set a variant's cost-per-item (unit cost / COGS). Approval/auto-apply gated.

Set a variant's cost-per-item (unit cost / COGS). Approval/auto-apply gated.

post/api/v1/tools/shopify_update_variant_cost

Request

  • Base URL: https://app.magistry.io
  • URL: https://app.magistry.io/api/v1/tools/shopify_update_variant_cost
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.magistry.io/api/oauth/authorize, token URL https://app.magistry.io/api/oauth/token, scopes: costs:write)

Request body

shopify_variant_idinteger required
costnumber required

Cost per item in the store currency.

Response

Tool result

okboolean required
resultunknown required

Changes

No recorded changes to this operation across all 3 revisions of this API.