Skip to main content
PATCH
Update Product Status
V2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.

Overview

Change a product’s status without updating any other fields. This is a lightweight way to publish or unpublish a product. Vendor tokens can only update their own products. If the shop has product approval enabled, setting status to ACTIVE may place the product into a pending state instead, requiring merchant approval before it goes live.

Use Cases

  • Publish a draft product to the storefront
  • Temporarily unpublish a product by switching it to draft
  • Quickly toggle product visibility without a full product update

Required Scope

products:write

Path Parameters

string
required
Product ID (Shopify numeric, GID, or MongoDB ObjectId).

Request Body

string
required
The new status. Must be one of ACTIVE or DRAFT.

Response

200
403
404

Example