Wholesale Suite API
  • REST API
  • wholesale/v1 (Free)
    • Products
      • List All Wholesale Products
      • Retrieve a Wholesale Product
      • Create a Wholesale Product
      • Update a Wholesale Product
      • Delete a Wholesale Product
      • Batch Update Products
    • Variations
      • List All Wholesale Variations
      • Retrieve a Wholesale Variation
      • Create a Wholesale Variation
      • Update a Wholesale Variation
      • Delete a Wholesale Variation
      • Batch Update Variations
    • Wholesale Role
      • List Wholesale Roles
      • Retrieve a Wholesale Role
      • Update a Wholesale Role
  • wholesale/v1 (Premium)
    • Products
      • List All Wholesale Products
      • Retrieve a Wholesale Product
      • Create a Wholesale Product
      • Update a Wholesale Product
      • Delete a Wholesale Product
      • Batch Update Products
    • Variations
      • List All Wholesale Variations
      • Retrieve a Wholesale Variation
      • Create a Wholesale Variation
      • Update a Wholesale Variation
      • Delete a Wholesale Variation
      • Batch Update Variations
    • Wholesale Role
      • List Wholesale Roles
      • Retrieve a Wholesale Role
      • Create a Wholesale Role
      • Update a Wholesale Role
      • Delete a Wholesale Role
    • Category Discounts
      • List Category Discounts
      • Retrieve Category Discount
      • Create Category Discount
      • Update Category Discount
      • Delete Category Discount
    • General Discounts
      • List General Discounts
      • Retrieve Specific Role Discount
      • Create a General Discount
      • Update a general Discount
      • Delete a General Discount
    • Bundle
      • Create Bundle Product
      • Batch Update
    • Composite
      • Create Composite Product
      • Batch Update
Powered by GitBook
On this page
  • Changelog:
  • Endpoints:

Was this helpful?

wholesale/v1 (Premium)

This API handles fetching and manipulating WWPP wholesale-related data.

PreviousUpdate a Wholesale RoleNextProducts

Last updated 3 years ago

Was this helpful?

Changelog:

v1.27

  • Added the ability to do batch products and variations updates.

  • Added the ability to list, create, update and delete Category Wholesale Discounts.

  • Added the ability to list, create, update and delete General Wholesale Discounts.

  • Compatibility with and API.

  • This release requires a minimum version of Wholesale Prices v1.16.

This API was introduced in Wholesale Prices Premium 1.25

Endpoints:

/wp-json/wholesale/v1/products

This endpoint allows you to List, Create, Update, Delete Wholesale Products.

/wp-json/wholesale/v1/products/{product_id}/variations

This endpoint allows you to List, Create, Update, Delete Wholesale Variations.

/wp-json/wholesale/v1/products/batch

This endpoint allows you to do Batch Create, Update, Delete Wholesale Products.

/wp-json/wholesale/v1/products/batch/{variable_id}/batch

This endpoint allows you to do Batch Create, Update, Delete Wholesale Variations.

/wp-json/wholesale/v1/wholesale_role

This endpoint allows you to List and Update Wholesale Role. (Free Version only have 1 wholesale role)

/wp-json/wholesale/v1/category-discount

This endpoint allows you to List, Create, Update, Delete Category Wholesale Discounts.

/wp-json/wholesale/v1/general-discount

This endpoint allows you to List, Create, Update, Delete General Wholesale Discounts.

Bundle
Composite