groups

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(opts ...option.RequestOption) *Client

func (*Client) Add

Adds a group membership to a customer.

The customer is identified by the `customer_id` value and the customer group is identified by the `group_id` value.

func (*Client) Create

Creates a new customer group for a business.

The request must include the `name` value of the group.

func (*Client) Delete

Deletes a customer group as identified by the `group_id` value.

func (*Client) Get

Retrieves a specific customer group as identified by the `group_id` value.

func (*Client) List

Retrieves the list of customer groups of a business.

func (*Client) Remove

Removes a group membership from a customer.

The customer is identified by the `customer_id` value and the customer group is identified by the `group_id` value.

func (*Client) Update

Updates a customer group as identified by the `group_id` value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL