NAME

Twilio::Rest::Marketplace::V1::ModuleDataManagement - The ModuleDataManagement resource

SYNOPSIS

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

my $module_data_management = $client->marketplace->v1->module_data_management($sid)->fetch;
$client->marketplace->v1->module_data_management($sid)->update(\%options);

DESCRIPTION

This file holds ModuleDataManagementList, ModuleDataManagementContext and ModuleDataManagementInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

ModuleDataManagementList

Returned by $client->marketplace->v1->module_data_management. See also Twilio::ListResource.

get_context

my $context = $client->marketplace->v1->module_data_management->get_context($sid);

Returns a ModuleDataManagementContext, and makes no request.

ModuleDataManagementContext

Returned by $client->marketplace->v1->module_data_management($sid). It makes no request until one of these methods is called.

fetch

my $module_data_management = $client->marketplace->v1->module_data_management($sid)->fetch;

This endpoint returns the data of a given Listing. To find a Listing's SID, use the Available Add-ons resource or view its Listing details page in the Console by visiting the Catalog or the My Listings tab and selecting the Listing. Returns a ModuleDataManagementInstance.

update

my $module_data_management = $client->marketplace->v1->module_data_management($sid)->update(\%options);

This endpoint updates the data of a given Listing. To find a Listing's SID, use the Available Add-ons resource or view its Listing details page in the Console by visiting the Catalog or the My Listings tab and selecting the Listing. Only Listing owners are allowed to update the Listing. Returns a ModuleDataManagementInstance.

The options are:

configuration

A JSON object for providing Listing-specific configuration. Contains button setup, notification URL, and more.

description

A JSON object describing the Listing. You can define the main body of the description, highlight key features or aspects of the Listing, and provide code samples for developers if applicable.

documentation

A JSON object for providing comprehensive information, instructions, and resources related to the Listing.

module_info

A JSON object containing essential attributes that define a Listing.

policies

A JSON object describing the Listing's privacy and legal policies. The maximum file size for Policies is 5MB.

pricing

A JSON object for providing Listing's purchase options.

support

A JSON object containing information on how Marketplace users can obtain support for the Listing. Use this parameter to provide details such as contact information and support description.

ModuleDataManagementInstance

See also Twilio::InstanceResource.

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

Its fields are:

configuration

A JSON object for providing listing specific configuration. Contains button setup, notification url, among others.

description

A JSON object describing the module and is displayed under the Description tab of the Module detail page. You can define the main body of the description, highlight key features or aspects of the module and if applicable, provide code samples for developers

documentation

A JSON object for providing comprehensive information, instructions, and resources related to the module

module_info

A JSON object containing essential attributes that define a module. This information is presented on the Module detail page in the Twilio Marketplace Catalog. You can pass the following attributes in the JSON object

policies

A JSON object describing the module's privacy and legal policies and is displayed under the Policies tab of the Module detail page. The maximum file size for Policies is 5MB

pricing

A JSON object for providing Listing specific pricing information.

sid

ModuleSid that identifies this Listing.

support

A JSON object containing information on how customers can obtain support for the module. Use this parameter to provide details such as contact information and support description.

url

URL to query the subresource.

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.