NAME

Twilio::Rest::Trusthub::V1::CustomerProfilesProvisionalCopy - The CustomerProfilesProvisionalCopy resource

SYNOPSIS

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

my $customer_profiles_provisional_copy = $client->trusthub->v1->customer_profiles_provisional_copy($customer_profile_sid)->create();
my $customer_profiles_provisional_copy = $client->trusthub->v1->customer_profiles_provisional_copy($customer_profile_sid)->fetch;

DESCRIPTION

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

CustomerProfilesProvisionalCopyContext

Returned by $client->trusthub->v1->customer_profiles_provisional_copy($customer_profile_sid). It makes no request until one of these methods is called.

create

my $customer_profiles_provisional_copy = $client->trusthub->v1->customer_profiles_provisional_copy($customer_profile_sid)->create();

Create the provisional copy for a given customer profile with status: TWILIO_APPROVED, this is useful for making updates to an existing immutable customer profile instance. Returns a CustomerProfilesProvisionalCopyInstance.

fetch

my $customer_profiles_provisional_copy = $client->trusthub->v1->customer_profiles_provisional_copy($customer_profile_sid)->fetch;

Fetch the provisional copy of a given customer profile. Returns a CustomerProfilesProvisionalCopyInstance.

CustomerProfilesProvisionalCopyInstance

See also Twilio::InstanceResource.

It has create and fetch, which work as they do on the context.

Its fields are:

account_sid

The unique SID identifier of the Account.

customer_profile_sid

The unique SID identifier of the Customer Profile.

date_created

The date that this Customer Profiles Provisional Copy was created, given in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

date_updated

The date that this Customer Profiles Provisional Copy was updated, given in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

email

The email address that will receive updates when the Customer-Profile resource changes status.

friendly_name

A human readable description of this resource, up to 64 characters.

policy_sid

The unique string of a policy that is associated to the Customer-Profile resource.

status

The verification status of the Customer-Profile resource.

status_callback

The URL we call to inform your application of status changes.

url

The URL of this resource.

valid_until

The date and time in GMT in ISO 8601 format when the resource will be valid until. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

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.