7.9 KiB
7.9 KiB
name, description
| name | description |
|---|---|
| customers-routes | Handle 31 OpenAPI operation(s) under /v2/customers for the customers route group. |
customers API Routes
Handle 31 OpenAPI operation(s) under /v2/customers for the customers route group.
Use the generated operation tools to make real API calls. Do not invent API responses. If a tool reports missing setup, return the exact setup field name to the caller. For write, update, or delete operations, state the intended action before calling the tool.
Operations
list_customers
- Operation ID:
list_customers - Route:
GET /v2/customers - Mode: READ
- Summary: ListCustomers
- Parameters:
cursorinquerylimitinquerysort_fieldinquerysort_orderinquerycountinquery
create_customer
- Operation ID:
create_customer - Route:
POST /v2/customers - Mode: WRITE
- Summary: CreateCustomer
- Body: JSON request body accepted.
bulk_create_customers
- Operation ID:
bulk_create_customers - Route:
POST /v2/customers/bulk-create - Mode: WRITE
- Summary: BulkCreateCustomers
- Body: JSON request body accepted.
bulk_delete_customers
- Operation ID:
bulk_delete_customers - Route:
POST /v2/customers/bulk-delete - Mode: WRITE
- Summary: BulkDeleteCustomers
- Body: JSON request body accepted.
bulk_retrieve_customers
- Operation ID:
bulk_retrieve_customers - Route:
POST /v2/customers/bulk-retrieve - Mode: WRITE
- Summary: BulkRetrieveCustomers
- Body: JSON request body accepted.
bulk_update_customers
- Operation ID:
bulk_update_customers - Route:
POST /v2/customers/bulk-update - Mode: WRITE
- Summary: BulkUpdateCustomers
- Body: JSON request body accepted.
list_customer_custom_attribute_definitions
- Operation ID:
list_customer_custom_attribute_definitions - Route:
GET /v2/customers/custom-attribute-definitions - Mode: READ
- Summary: ListCustomerCustomAttributeDefinitions
- Parameters:
limitinquerycursorinquery
create_customer_custom_attribute_definition
- Operation ID:
create_customer_custom_attribute_definition - Route:
POST /v2/customers/custom-attribute-definitions - Mode: WRITE
- Summary: CreateCustomerCustomAttributeDefinition
- Body: JSON request body accepted.
delete_customer_custom_attribute_definition
- Operation ID:
delete_customer_custom_attribute_definition - Route:
DELETE /v2/customers/custom-attribute-definitions/{key} - Mode: WRITE
- Summary: DeleteCustomerCustomAttributeDefinition
- Parameters:
keyinpathrequired
retrieve_customer_custom_attribute_definition
- Operation ID:
retrieve_customer_custom_attribute_definition - Route:
GET /v2/customers/custom-attribute-definitions/{key} - Mode: READ
- Summary: RetrieveCustomerCustomAttributeDefinition
- Parameters:
keyinpathrequiredversioninquery
update_customer_custom_attribute_definition
- Operation ID:
update_customer_custom_attribute_definition - Route:
PUT /v2/customers/custom-attribute-definitions/{key} - Mode: WRITE
- Summary: UpdateCustomerCustomAttributeDefinition
- Parameters:
keyinpathrequired
- Body: JSON request body accepted.
bulk_upsert_customer_custom_attributes
- Operation ID:
bulk_upsert_customer_custom_attributes - Route:
POST /v2/customers/custom-attributes/bulk-upsert - Mode: WRITE
- Summary: BulkUpsertCustomerCustomAttributes
- Body: JSON request body accepted.
list_customer_groups
- Operation ID:
list_customer_groups - Route:
GET /v2/customers/groups - Mode: READ
- Summary: ListCustomerGroups
- Parameters:
cursorinquerylimitinquery
create_customer_group
- Operation ID:
create_customer_group - Route:
POST /v2/customers/groups - Mode: WRITE
- Summary: CreateCustomerGroup
- Body: JSON request body accepted.
delete_customer_group
- Operation ID:
delete_customer_group - Route:
DELETE /v2/customers/groups/{group_id} - Mode: WRITE
- Summary: DeleteCustomerGroup
- Parameters:
group_idinpathrequired
retrieve_customer_group
- Operation ID:
retrieve_customer_group - Route:
GET /v2/customers/groups/{group_id} - Mode: READ
- Summary: RetrieveCustomerGroup
- Parameters:
group_idinpathrequired
update_customer_group
- Operation ID:
update_customer_group - Route:
PUT /v2/customers/groups/{group_id} - Mode: WRITE
- Summary: UpdateCustomerGroup
- Parameters:
group_idinpathrequired
- Body: JSON request body accepted.
search_customers
- Operation ID:
search_customers - Route:
POST /v2/customers/search - Mode: WRITE
- Summary: SearchCustomers
- Body: JSON request body accepted.
list_customer_segments
- Operation ID:
list_customer_segments - Route:
GET /v2/customers/segments - Mode: READ
- Summary: ListCustomerSegments
- Parameters:
cursorinquerylimitinquery
retrieve_customer_segment
- Operation ID:
retrieve_customer_segment - Route:
GET /v2/customers/segments/{segment_id} - Mode: READ
- Summary: RetrieveCustomerSegment
- Parameters:
segment_idinpathrequired
delete_customer
- Operation ID:
delete_customer - Route:
DELETE /v2/customers/{customer_id} - Mode: WRITE
- Summary: DeleteCustomer
- Parameters:
customer_idinpathrequiredversioninquery
retrieve_customer
- Operation ID:
retrieve_customer - Route:
GET /v2/customers/{customer_id} - Mode: READ
- Summary: RetrieveCustomer
- Parameters:
customer_idinpathrequired
update_customer
- Operation ID:
update_customer - Route:
PUT /v2/customers/{customer_id} - Mode: WRITE
- Summary: UpdateCustomer
- Parameters:
customer_idinpathrequired
- Body: JSON request body accepted.
create_customer_card
- Operation ID:
create_customer_card - Route:
POST /v2/customers/{customer_id}/cards - Mode: WRITE
- Summary: CreateCustomerCard
- Parameters:
customer_idinpathrequired
- Body: JSON request body accepted.
delete_customer_card
- Operation ID:
delete_customer_card - Route:
DELETE /v2/customers/{customer_id}/cards/{card_id} - Mode: WRITE
- Summary: DeleteCustomerCard
- Parameters:
customer_idinpathrequiredcard_idinpathrequired
list_customer_custom_attributes
- Operation ID:
list_customer_custom_attributes - Route:
GET /v2/customers/{customer_id}/custom-attributes - Mode: READ
- Summary: ListCustomerCustomAttributes
- Parameters:
customer_idinpathrequiredlimitinquerycursorinquerywith_definitionsinquery
delete_customer_custom_attribute
- Operation ID:
delete_customer_custom_attribute - Route:
DELETE /v2/customers/{customer_id}/custom-attributes/{key} - Mode: WRITE
- Summary: DeleteCustomerCustomAttribute
- Parameters:
customer_idinpathrequiredkeyinpathrequired
retrieve_customer_custom_attribute
- Operation ID:
retrieve_customer_custom_attribute - Route:
GET /v2/customers/{customer_id}/custom-attributes/{key} - Mode: READ
- Summary: RetrieveCustomerCustomAttribute
- Parameters:
customer_idinpathrequiredkeyinpathrequiredwith_definitioninqueryversioninquery
upsert_customer_custom_attribute
- Operation ID:
upsert_customer_custom_attribute - Route:
POST /v2/customers/{customer_id}/custom-attributes/{key} - Mode: WRITE
- Summary: UpsertCustomerCustomAttribute
- Parameters:
customer_idinpathrequiredkeyinpathrequired
- Body: JSON request body accepted.
remove_group_from_customer
- Operation ID:
remove_group_from_customer - Route:
DELETE /v2/customers/{customer_id}/groups/{group_id} - Mode: WRITE
- Summary: RemoveGroupFromCustomer
- Parameters:
customer_idinpathrequiredgroup_idinpathrequired
add_group_to_customer
- Operation ID:
add_group_to_customer - Route:
PUT /v2/customers/{customer_id}/groups/{group_id} - Mode: WRITE
- Summary: AddGroupToCustomer
- Parameters:
customer_idinpathrequiredgroup_idinpathrequired