Update a Wholesale Variation

This API handles updating a wholesale or non-wholesale variation.

Method

Endpoint

PUT

/wp-json/wholesale/v1/products/{variable_id}/variations/{variation_id}

Path parameters

Required

Type

Description

variable_id

yes

int

The variable ID.

variation_id

yes

int

The variation ID.

Body Parameters

Required

Type

Description

wholesale_price

yes

array

The wholesale price.

wholesale_sale_price

no

array

The wholesale sale price.

Last updated