Skip to main content

Sync Costs to Shopify

POST 

/api/shopify/:integrationInstance/costs/sync

Push each mapped listing's average cost to the Shopify variant's "Cost per item" field. Runs asynchronously; poll Get Cost Sync Progress with the returned tracked_job_log_id.

Costs are pushed in the store's currency (converted from your base currency using your configured exchange rate). Products with no average cost are skipped, never zeroed. Bundles push the sum of component costs; a bundle is skipped when any component has no cost. Values already matching Shopify are skipped.

Requires the "Push costs" sync capability to be enabled for the integration instance.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type