NAME

Twilio::Rest::Memory::V1::Bulk - The Bulk resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

my $bulk = $client->memory->v1->bulk($store_id)->update(\%body);

DESCRIPTION

This file holds BulkList and BulkInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

BulkList

Returned by $client->memory->v1->bulk($store_id). See also Twilio::ListResource.

update

my $bulk = $client->memory->v1->bulk($store_id)->update(\%body);

Create or update up to 1000 profiles in a single asynchronous batch. Each profile body follows the same structure as single profile creation. If a profile already exists its traits are merged (new keys added, existing keys overwritten). Large batches may take time to process; the 202 response indicates the batch has been accepted. Monitor downstream telemetry or audit logs to confirm completion. Returns a BulkInstance.

%body is sent as JSON. It takes the names Twilio's API documentation uses.

Its fields are:

profiles

No description in the specification.

BulkInstance

See also Twilio::InstanceResource.

Its fields are:

created_at

ISO 8601 timestamp when the operation was created. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

message

Confirmation message for the operation.

operation_id

No description in the specification.

status_url

URL to query the operation status.

CONSTRUCTORS

new

Objects here come from the methods above, so there is no need to call new directly.

LICENSE

Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.