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
  • Requirements
  • Official libraries
  • Authentication
  • Permission:

Was this helpful?

REST API

Nextwholesale/v1 (Free)

Last updated 3 years ago

Was this helpful?

Requirements

To use the latest version of the REST API you must be using:

  • WooCommerce 3.5+.

  • WordPress 4.4+.

  • Pretty permalinks in Settings > Permalinks so that the custom endpoints are supported. Default permalinks will not work.

  • You may access the API over either HTTP or HTTPS, but HTTPS is recommended where possible.

If you use ModSecurity and see 501 Method Not Implemented errors, see for details.

source:

Official libraries

  • Library

  • Library

  • Library

  • Library

source:

Authentication

This API follows WC Authentication. See WC doc on how to set-up consumer key/secret:

Permission:

If your only using the api to view data, just set the user permission to read.

If your only using it for manipulating data then use write.

If you want both then set permission to read/write.

this issue
https://woocommerce.github.io/woocommerce-rest-api-docs/#requirements
JavaScript
PHP
Python
Ruby
https://woocommerce.github.io/woocommerce-rest-api-docs/#libraries-and-tools
WooCommerce REST API Documentation - WP REST API v3
Logo