Skip to content
Start here

Items

Get list items
client.Rules.Lists.Items.List(ctx, listID, params) (*CursorPaginationAfter[ListItemListResponse], error)
GET/accounts/{account_id}/rules/lists/{list_id}/items
Get a list item
client.Rules.Lists.Items.Get(ctx, listID, itemID, query) (*ListItemGetResponse, error)
GET/accounts/{account_id}/rules/lists/{list_id}/items/{item_id}
Create list items
client.Rules.Lists.Items.New(ctx, listID, params) (*ListItemNewResponse, error)
POST/accounts/{account_id}/rules/lists/{list_id}/items
Update all list items
client.Rules.Lists.Items.Update(ctx, listID, params) (*ListItemUpdateResponse, error)
PUT/accounts/{account_id}/rules/lists/{list_id}/items
Delete list items
client.Rules.Lists.Items.Delete(ctx, listID, params) (*ListItemDeleteResponse, error)
DELETE/accounts/{account_id}/rules/lists/{list_id}/items
ModelsExpand Collapse
type ListCursor struct{…}
After stringOptional
Before stringOptional
type ListItem struct{…}
OperationID string

The unique operation ID of the asynchronous action.