Create Or Update Customer
Creates a customer record or updates an existing customer profile and related address information. Use this endpoint when syncing customer master data from ecommerce, CRM, marketplace, or external ERP systems into Xorosoft ERP.
Customer create/update payload.
Customer display name.
Customer number assigned by the external system or Xorosoft ERP.
Customer email address.
Customer phone number.
Customer currency code.
Request processed successfully.
Standard Xorosoft ERP API response envelope used by most endpoints.
True when the operation completed successfully.
Human-readable success or error message.
Current page number when paging is enabled.
Total page count when paging is enabled.
Invalid request, failed validation, or business rule error.
Missing or invalid private app credentials.
Private app does not have permission for this request.
POST /api/xerp/customers/export HTTP/1.1
Host: res.xorosoft.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 430
{
"CustomerName": "Example Customer",
"CustomerNumber": "CUST-1001",
"Email": "customer@example.com",
"Phone": "555-0100",
"CurrencyCode": "USD",
"BillToAddrList": [
{
"AddressName": "Billing",
"Addr": "123 Market Street",
"City": "San Francisco",
"State": "CA",
"Country": "US",
"PostalZipCode": "94105"
}
],
"ShipToAddrList": [
{
"AddressName": "Shipping",
"Addr": "123 Market Street",
"City": "San Francisco",
"State": "CA",
"Country": "US",
"PostalZipCode": "94105"
}
]
}{
"Result": true,
"Message": "Request processed successfully",
"Data": {}
}Last updated
Was this helpful?