Customers

Create a new billing address for an account

post/accounts/public/{accountId}/billing_addresses

Request

  • Base URL
    https://api.paperlessparts.com/v1
  • Auth
    API key in header Authorization

Path parameters

accountIdinteger required

The account id

Request body

idinteger
address1string

(Required)

address2string nullable

(Required)

citystring

(Required)

statestring

(Required) State/Province must be specified as standard postal abbreviation

postal_codestring

(Required) US postal codes may optionally contain 4-digit extension, e.g., '02114-1234'

countrystring

(Required) Country must be ISO 3166-1 alpha-3 code. Currently allowed values are 'USA', 'CAN'.

erp_codestring

The unique identifier for this address record in the ERP

Example request

{
  "address1": "1 City Hall Sq.",
  "city": "Boston",
  "state": "MA",
  "postal_code": "02114",
  "country": "USA",
  "erp_code": "B1234"
}

Response

Successful response

idinteger
address1string

(Required)

address2string nullable

(Required)

citystring

(Required)

statestring

(Required) State/Province must be specified as standard postal abbreviation

postal_codestring

(Required) US postal codes may optionally contain 4-digit extension, e.g., '02114-1234'

countrystring

(Required) Country must be ISO 3166-1 alpha-3 code. Currently allowed values are 'USA', 'CAN'.

erp_codestring

The unique identifier for this address record in the ERP

Example response

{
  "address1": "1 City Hall Sq.",
  "city": "Boston",
  "state": "MA",
  "postal_code": "02114",
  "country": "USA",
  "erp_code": "B1234"
}

Changes

No recorded changes to this operation across all 1 revision of this API.