Create a Wholesale Product

This API handles creating a wholesale product.

Method

Endpoint

POST

/wp-json/wholesale/v1/products/

Body Parameters

Required

Type

Description

wholesale_price

yes

array

The wholesale price.

wholesale_sale_price

no

array

The wholesale sale price.

Note:

  • Since v1.16, it is now allowed to create both non-wholesale and wholesale products. Meaning providing wholesale_price is optional.

Last updated