Update a Wholesale Role
This API allows you to update wholesale role.
PUT
/wp-json/wholesale/v1/roles/{role_key}
Path Parameters
role_key
required
string
Wholesale Role Key to be updated.
Body Parameters
Type
Required
Description
role_key
string
no
Wholesale Role key.
role_name
string
no
Wholesale Role name.
description
string
no
Wholesale Role description.
shipping_class_name
string
no
Shipping class name.
shipping_class_term_id
int
no
Shipping term ID.
only_allow_wholesale_purchases
string
no
Only allow wholesale purchases for this specific role. Should be "yes" or
Last updated