Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
add_billing_addr | POST /customer/{customer_id}/billing_address | Add a billing address to a customer |
delete_billing_addr | DELETE /customer/{customer_id}/billing_address | Delete a billing address |
get_billing_addr | GET /customer/{customer_id}/billing_address | Get a billing address |
update_billing_addr | PATCH /customer/{customer_id}/billing_address | Update a billing address |
Add a billing address to a customer.
let cfg = &Configuration::default();
let params = AddBillingAddrParams {
// parameters
};
add_billing_addr(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
customer_id | String | Alphanumeric string identifying the customer. | [required] | |
billing_address_request | Option<BillingAddressRequest> | Billing address |
crate::models::BillingAddressResponse
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Delete a customer's billing address.
let cfg = &Configuration::default();
let params = DeleteBillingAddrParams {
// parameters
};
delete_billing_addr(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
customer_id | String | Alphanumeric string identifying the customer. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Get a customer's billing address.
let cfg = &Configuration::default();
let params = GetBillingAddrParams {
// parameters
};
get_billing_addr(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
customer_id | String | Alphanumeric string identifying the customer. | [required] |
crate::models::BillingAddressResponse
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Update a customer's billing address. You may update only part of the customer's billing address.
let cfg = &Configuration::default();
let params = UpdateBillingAddrParams {
// parameters
};
update_billing_addr(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
customer_id | String | Alphanumeric string identifying the customer. | [required] | |
update_billing_address_request | Option<UpdateBillingAddressRequest> | One or more billing address attributes |
crate::models::BillingAddressResponse
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json