latestOpenAPI 3.0.12026-08-101292701.1 MB
f21981db32be
Country specifications
Returns an array containing a country specification
Gets a country specification.
get/country-specs
Query parameters
countrystring required
Represents the expected billing or ship to country of the customer.
sellingEntitystring required
Represents the selling entity assigned to the order.
Response
200 OK
Example response
{
"data": [
{
"country": "US",
"sellingEntity": "DR_IRELAND-ENTITY",
"taxIdentifiersInfo": {
"type": "ie",
"customerType": "business",
"formatPattern": "^[Ii][Ee]\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d[A-Za-z]$|^[Ii][Ee]\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d[A-Za-z]$|^[Ii][Ee]\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d[A-Za-z][A-Za-z]$|^[Ii][Ee]\\\\d[A-Za-z]\\\\d\\\\d\\\\d\\\\d\\\\d[A-Za-z]$",
"locales": "en_IE"
},
"invoiceAttributeInfo": {
"individual": {
"type": "cn_individual_general",
"attributes": {
"invoiceTitle": "Invoice title",
"regAccount": "87654",
"regAddress": "123 Example st.",
"regBank": "Bank",
"regPhone": "8005551234"
}
},
"business": {
"type": "cn_business_general",
"attributes": [
{
"invoiceTitle": "Invoice title",
"regAccount": "87654",
"regAddress": "123 Example st.",
"regBank": "Bank",
"regPhone": "8005551234"
}
]
}
}
}
]
}