How to create a Costumer
Costumers are the ones purchasing your goods what makes them mandatory to your selling orders.
Costumers can be created through our Entity endpoint, the request should look something like this:
[
{
"name": "Jonh Doe", // Person or Company's name
"personType": 0, // Person type (0 = Person, 1 = Company)
"entityTypeId": 1, // Entity type
"relationalEntityCode": "8504", // Entity's Id on the origin system
"situationCode": 1, // Entity status (3 = In registration, 01 = Active, 02 = Inactive)
}
]
These are the mandatory fields to create an Costumer.
Costumers always have the
entityTypeId
property set to1
.
Multiple Costumers can be created within the same request.
Optional fields
Name | Description | Default Value |
---|---|---|
subType | Any subtype you want to add to this Entity | |
entityNote | Any notes you want to add to an Entity | |
street | Street address | |
typeAddressCode | (Ver com Marcelo) | |
district | Address district | |
zipCode | Address zipCode | |
complement | Address complement | |
city | Address city | |
initialsState | Address state initials | |
flag | Flags are used to group entitys | |
stateRegistration | Company's State Registration Number (Brazil only) | |
routeId | WMS route Id to be associated with this entity | |
route | WMS route description to be associated with this entity |
For more information about the required properties please refer to our API Reference here.
Updated over 2 years ago