{
"type": "object",
"title": "Customer info",
"properties": {
"id": {
"type": "string",
"description": "3DPrinteo message id"
},
"type": {
"type": "string",
"description": "Message type"
},
"version": {
"type": "string",
"description": "API Version"
},
"signature": {
"type": "string",
"description": "Base64 encoded signature of message"
},
"customer_id": {
"type": "string",
"description": "Customer ID"
},
"created_at": {
"type": "string",
"description": "Datetime when customer was created"
},
"app_id": {
"type": "integer",
"description": "3DPrinteo Application ID"
},
"customer_type": {
"type": "string",
"description": "Type of customer"
},
"status": {
"type": "string",
"description": "Customer status"
},
"first_name": {
"type": "string",
"description": "Customer First Name"
},
"surname": {
"type": "string",
"description": "Customer Last Name"
},
"email_address": {
"type": "string",
"description": "Customer Email address"
},
"customer_group_id": {
"type": "integer",
"description": "Customer Group ID"
},
"customer_group_label": {
"type": "string",
"description": "Customer Group Label"
},
"payment_method": {
"type": "array",
"description": "Payment methods allowed for customer",
"items": {
"type": "string",
"description": "Payment method name"
}
},
"discount_rate": {
"type": "number",
"description": "Discount rate"
},
"company_number": {
"type": "string",
"description": "Company number (deprecated)"
},
"industry": {
"type": "string",
"description": "Industry (deprecated)"
},
"customer_info": {
"type": "string",
"description": "Some customer information"
},
"billing_addresses": {
"type": "array",
"description": "Customer billing addresses",
"properties": {
"first_name": {
"type": "string",
"description": "Customer billing address First Name"
},
"surname": {
"type": "string",
"description": "Customer billing address Last Name"
},
"company_name": {
"type": "string",
"description": "Company name"
},
"company_number": {
"type": "string",
"description": "Company number"
},
"address": {
"type": "string",
"description": "Street address"
},
"address_second_line": {
"type": "string",
"description": "Street address second line"
},
"city": {
"type": "string",
"description": "City Name"
},
"post_code": {
"type": "string",
"description": "Post code"
},
"state_ISO_code": {
"type": "string",
"description": "State ISO code"
},
"state": {
"type": "string",
"description": "State name"
},
"country_ISO_code": {
"type": "string",
"description": "Country ISO code"
},
"country": {
"type": "string",
"description": "Country name"
},
"email": {
"type": "string",
"description": "Customer billing address Email address"
},
"vat_number": {
"type": "string",
"description": "VAT Number"
},
"telephone": {
"type": "string",
"description": "Phone number"
},
"fax": {
"type": "string",
"description": "Fax number"
},
"industry": {
"type": "string",
"description": "Industry"
}
},
"required": [
"first_name",
"surname",
"address",
"city",
"post_code",
"country_ISO_code",
"country",
"email",
"telephone"
]
},
"delivery_addresses": {
"type": "array",
"description": "Customer Delivery addresses",
"properties": {
"first_name": {
"type": "string",
"description": "Customer billing address First Name"
},
"surname": {
"type": "string",
"description": "Customer billing address Last Name"
},
"company_name": {
"type": "string",
"description": "Company name"
},
"company_number": {
"type": "string",
"description": "Company number"
},
"address": {
"type": "string",
"description": "Street address"
},
"address_second_line": {
"type": "string",
"description": "Street address second line"
},
"city": {
"type": "string",
"description": "City Name"
},
"post_code": {
"type": "string",
"description": "Post code"
},
"state_ISO_code": {
"type": "string",
"description": "State ISO code"
},
"state": {
"type": "string",
"description": "State name"
},
"country_ISO_code": {
"type": "string",
"description": "Country ISO code"
},
"country": {
"type": "string",
"description": "Country name"
},
"email": {
"type": "string",
"description": "Customer billing address Email address"
},
"vat_number": {
"type": "string",
"description": "VAT Number (deprecated)"
},
"telephone": {
"type": "string",
"description": "Phone number"
},
"fax": {
"type": "string",
"description": "Fax number"
}
},
"required": [
"first_name",
"surname",
"address",
"city",
"post_code",
"country_ISO_code",
"country",
"email",
"telephone"
]
}
},
"required": [
"id",
"type",
"version",
"signature",
"customer_id",
"created_at",
"app_id",
"customer_type",
"first_name",
"surname",
"email_address",
"billing_addresses"
]
}

Written by AMFG Support
Updated over 2 months ago