patchProductVariants
Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.
All HTTP operationsPATCH
Tenant-editor write scope. Requires the current graphRevision; stale graph conflict preserves the current revision in the legacy error envelope. Updates cannot reassign optionValues; projection sync staleness is explicit.
bearerAuthheader
AuthorizationBearer <token>Public integration credentials: verified opaque sk01_ secret key or pat01_ personal access token; operation policy and read/write scopes still apply. These credentials are not Customer JWTs.
id*stringDocument ID
application/json- body
graphRevision*stringLength
1 <= lengthupdates?array<>Items
items <= 250deletes?array<string|number>Items
items <= 250Actual shaped success body
application/json- response
ok*trueValue in
trueproductId*stringupdated*numberdeleted*numberproductProjectionStale*booleanExamples may be generated from schemas; they are illustrative, not recorded successful API calls. Example snippets may omit required authentication headers.
curl -X PATCH 'https://api.01.software/api/products/string/variants' \ -H 'Content-Type: application/json' \ -d '{ "graphRevision": "string"}'Example Response
{ "ok": true, "productId": "string", "updated": 0, "deleted": 0, "productProjectionStale": true}