Headers
-
Content-Type
string -
Accept
string
Path parameters
-
firm_id
integer Required The ID of the firm.
Body
Required
-
invoice_name
string Company name
-
invoice_address_1
string Required First line of the address
-
invoice_address_2
string Second line of the address
-
invoice_town_city
string Town/City
-
invoice_county
string County
-
invoice_postcode
string Required Postcode
-
invoice_country
string Country
-
invoice_email
string Required Invoice email address
POST
/api/v1/firm/{firm_id}/billing
curl \
--request POST 'https://api.plannrcrm.com/api/v1/firm/firm_id/billing' \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data '{"invoice_name":"Plannr Ltd","invoice_address_1":"Suite E, 5 The Briars","invoice_address_2":"Waterberry Drive","invoice_town_city":"Waterlooville","invoice_county":"Hampshire","invoice_postcode":"PO7 7YH","invoice_country":"United Kingdom","invoice_email":"gareth@codepotato.co.uk"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"invoice_name": "Plannr Ltd",
"invoice_address_1": "Suite E, 5 The Briars",
"invoice_address_2": "Waterberry Drive",
"invoice_town_city": "Waterlooville",
"invoice_county": "Hampshire",
"invoice_postcode": "PO7 7YH",
"invoice_country": "United Kingdom",
"invoice_email": "gareth@codepotato.co.uk"
}