idinteger
Unique identifier for the resource. read-only
date_createdstring (date-time)
The date the variation was created, in the site's timezone. read-only
date_created_gmtstring (date-time)
The date the variation was created, as GMT. read-only
date_modifiedstring (date-time)
The date the variation was last modified, in the site's timezone. read-only
date_modified_gmtstring (date-time)
The date the variation was last modified, as GMT. read-only
descriptionstring
Variation description.
permalinkstring
Variation URL. read-only
skustring
Unique identifier.
pricestring
Current variation price. read-only
regular_pricestring
Variation product price.
sale_pricestring
Variation sale price.
date_on_sale_fromstring (date-time)
Start date of sale price, in the site's timezone.
date_on_sale_from_gmtstring (date-time)
Start date of sale price, as GMT.
date_on_sale_tostring (date-time)
End date of sale price, in the site's timezone.
date_on_sale_to_gmtstring (date-time)
End date of sale price, as GMT.
on_saleboolean
Shows if the variation is on sale. read-only
statusstring
Variation status. Options: draft, pending, private and publish. Default is publish.
purchasableboolean
Shows if the variation can be bought. read-only
virtualboolean
If the variation is virtual. Default is false.
downloadableboolean
If the variation is downloadable. Default is false.
downloadsarray<object>3 fieldsList of downloadable files.
download_limitinteger
Number of times downloadable files can be downloaded after purchase. Default is -1.
download_expiryinteger
Number of days until access to downloadable files expires. Default is -1.
tax_statusstring
Tax status. Options: taxable, shipping and none. Default is taxable.
tax_classstring
Tax class.
manage_stockboolean
Stock management at variation level. Default is false.
stock_quantityinteger
Stock quantity.
stock_statusstring
Controls the stock status of the product. Options: instock, outofstock, onbackorder. Default is instock.
backordersstring
If managing stock, this controls if backorders are allowed. Options: no, notify and yes. Default is no.
backorders_allowedboolean
Shows if backorders are allowed. read-only
backorderedboolean
Shows if the variation is on backordered. read-only
weightstring
Variation weight.
shipping_classstring
Shipping class slug.
shipping_class_idinteger
Shipping class ID.
attributesarray<object>7 fieldsList of attributes.
menu_orderinteger
Menu order, used to custom sort products.
meta_dataarray<object>5 fieldsMeta data properties.
idinteger
Unique identifier for the resource. read-only
date_createdstring (date-time)
The date the variation was created, in the site's timezone. read-only
date_created_gmtstring (date-time)
The date the variation was created, as GMT. read-only
date_modifiedstring (date-time)
The date the variation was last modified, in the site's timezone. read-only
date_modified_gmtstring (date-time)
The date the variation was last modified, as GMT. read-only
descriptionstring
Variation description.
permalinkstring
Variation URL. read-only
skustring
Unique identifier.
pricestring
Current variation price. read-only
regular_pricestring
Variation product price.
sale_pricestring
Variation sale price.
date_on_sale_fromstring (date-time)
Start date of sale price, in the site's timezone.
date_on_sale_from_gmtstring (date-time)
Start date of sale price, as GMT.
date_on_sale_tostring (date-time)
End date of sale price, in the site's timezone.
date_on_sale_to_gmtstring (date-time)
End date of sale price, as GMT.
on_saleboolean
Shows if the variation is on sale. read-only
statusstring
Variation status. Options: draft, pending, private and publish. Default is publish.
purchasableboolean
Shows if the variation can be bought. read-only
virtualboolean
If the variation is virtual. Default is false.
downloadableboolean
If the variation is downloadable. Default is false.
downloadsarray<object>3 fieldsList of downloadable files.
download_limitinteger
Number of times downloadable files can be downloaded after purchase. Default is -1.
download_expiryinteger
Number of days until access to downloadable files expires. Default is -1.
tax_statusstring
Tax status. Options: taxable, shipping and none. Default is taxable.
tax_classstring
Tax class.
manage_stockboolean
Stock management at variation level. Default is false.
stock_quantityinteger
Stock quantity.
stock_statusstring
Controls the stock status of the product. Options: instock, outofstock, onbackorder. Default is instock.
backordersstring
If managing stock, this controls if backorders are allowed. Options: no, notify and yes. Default is no.
backorders_allowedboolean
Shows if backorders are allowed. read-only
backorderedboolean
Shows if the variation is on backordered. read-only
weightstring
Variation weight.
shipping_classstring
Shipping class slug.
shipping_class_idinteger
Shipping class ID.
attributesarray<object>7 fieldsList of attributes.
menu_orderinteger
Menu order, used to custom sort products.
meta_dataarray<object>5 fieldsMeta data properties.
idinteger
Unique identifier for the resource. read-only
date_createdstring (date-time)
The date the variation was created, in the site's timezone. read-only
date_created_gmtstring (date-time)
The date the variation was created, as GMT. read-only
date_modifiedstring (date-time)
The date the variation was last modified, in the site's timezone. read-only
date_modified_gmtstring (date-time)
The date the variation was last modified, as GMT. read-only
descriptionstring
Variation description.
permalinkstring
Variation URL. read-only
skustring
Unique identifier.
pricestring
Current variation price. read-only
regular_pricestring
Variation product price.
sale_pricestring
Variation sale price.
date_on_sale_fromstring (date-time)
Start date of sale price, in the site's timezone.
date_on_sale_from_gmtstring (date-time)
Start date of sale price, as GMT.
date_on_sale_tostring (date-time)
End date of sale price, in the site's timezone.
date_on_sale_to_gmtstring (date-time)
End date of sale price, as GMT.
on_saleboolean
Shows if the variation is on sale. read-only
statusstring
Variation status. Options: draft, pending, private and publish. Default is publish.
purchasableboolean
Shows if the variation can be bought. read-only
virtualboolean
If the variation is virtual. Default is false.
downloadableboolean
If the variation is downloadable. Default is false.
downloadsarray<object>3 fieldsList of downloadable files.
download_limitinteger
Number of times downloadable files can be downloaded after purchase. Default is -1.
download_expiryinteger
Number of days until access to downloadable files expires. Default is -1.
tax_statusstring
Tax status. Options: taxable, shipping and none. Default is taxable.
tax_classstring
Tax class.
manage_stockboolean
Stock management at variation level. Default is false.
stock_quantityinteger
Stock quantity.
stock_statusstring
Controls the stock status of the product. Options: instock, outofstock, onbackorder. Default is instock.
backordersstring
If managing stock, this controls if backorders are allowed. Options: no, notify and yes. Default is no.
backorders_allowedboolean
Shows if backorders are allowed. read-only
backorderedboolean
Shows if the variation is on backordered. read-only
weightstring
Variation weight.
shipping_classstring
Shipping class slug.
shipping_class_idinteger
Shipping class ID.
attributesarray<object>7 fieldsList of attributes.
menu_orderinteger
Menu order, used to custom sort products.
meta_dataarray<object>5 fieldsMeta data properties.