Skip to content

Latest commit

 

History

History
115 lines (70 loc) · 2.96 KB

CustomerAddressesApi.md

File metadata and controls

115 lines (70 loc) · 2.96 KB

CustomerAddressesApi

Note

All URIs are relative to https://api.fastly.com

Method HTTP request Description
create_customer_address POST /billing/v3/customer-addresses Creates an address associated with a customer account.
list_customer_addresses GET /billing/v3/customer-addresses Return the list of addresses associated with a customer account.
update_customer_address PUT /billing/v3/customer-addresses/{type} Updates an address associated with a customer account.

create_customer_address

Creates an address associated with a customer account.

let cfg = &Configuration::default();
let params = CreateCustomerAddressParams {
    // parameters
};
create_customer_address(cfg, params)

Parameters

Name Type Description Required Notes
customer_address CustomerAddress [required]

Return type

crate::models::InlineResponse201

Authorization

token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to README]

list_customer_addresses

Return the list of addresses associated with a customer account.

let cfg = &Configuration::default();
let params = ListCustomerAddressesParams {
    // parameters
};
list_customer_addresses(cfg, params)

Parameters

This endpoint does not need any parameter.

Return type

crate::models::ListCustomerAddressesResponse

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to README]

update_customer_address

Updates an address associated with a customer account.

let cfg = &Configuration::default();
let params = UpdateCustomerAddressParams {
    // parameters
};
update_customer_address(cfg, params)

Parameters

Name Type Description Required Notes
_type String Alphanumeric type of the address being modified. [required]
customer_address CustomerAddress [required]

Return type

(empty response body)

Authorization

token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to README]