Docs

Create or Update Variant

Creates or updates a product variant in Loyverse.

PUT

Query

Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Body

Arguments
string

The read only internal id of the variant. If included in the POST request it will cause an update instead of a creating a new object.

string

The item id this variant is attached to.

string

The variant sku. It should be unique.

string

External reference id for the variant

string

The value of the first option for this variant. Required if option1_name is set for the item this variant is attached to.

string

The value of the second option for this variant. Required if option2_name is set for the item this variant is attached to.

string

The value of the third option for this variant. Required if option3_name is set for the item this variant is attached to.

string
number

The variant cost

number

The variant purchase cost

string

The default variant pricing type. If the value is `VARIABLE` than the price is specified at the time of a sale. If there are several stores in the account than the price of the variant in each store is equal to this value by default unless different value is specified in the `stores` array for a particular store.

number

The default variant price (only for `pricing_type: FIXED`) If there are several stores in the account than the price of the variant in each store is equal to this value by default unless different value is specified in the `stores` array for a particular store.

array of object

The list of values that are unique for each store

date

The time when this resource was created

date

The time when this resource was created

date

The time when this resource was created

Every app you connect,one REST pattern

Call any app with one REST pattern. MindCloud handles each provider's auth, request shape, and responses for you.

Learn what the Universal API is
One REST patternUse the same request structure across apps like Slack, HubSpot, Salesforce, and thousands more.
Managed connectionsSend a MindCloud connection ID instead of handling provider tokens, refresh logic, and credential storage yourself.
Action-level docsEach action page shows the exact endpoint, required arguments, optional controls, and response behavior for that app version.