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. |
Creates an address associated with a customer account.
let cfg = &Configuration::default();
let params = CreateCustomerAddressParams {
// parameters
};
create_customer_address(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
customer_address | CustomerAddress | [required] |
crate::models::InlineResponse201
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Return the list of addresses associated with a customer account.
let cfg = &Configuration::default();
let params = ListCustomerAddressesParams {
// parameters
};
list_customer_addresses(cfg, params)
This endpoint does not need any parameter.
crate::models::ListCustomerAddressesResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Updates an address associated with a customer account.
let cfg = &Configuration::default();
let params = UpdateCustomerAddressParams {
// parameters
};
update_customer_address(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
_type | String | Alphanumeric type of the address being modified. | [required] | |
customer_address | CustomerAddress | [required] |
(empty response body)
- Content-Type: application/json
- Accept: application/json