Home

Create Order LATAM

Create Order LATAM

🚧

Do you have questions about our APIs? If you need help, don’t forget to use our artificial intelligence — it will help you generate examples that fit your specific needs, variations, and the required parameters for using each Hound Express API.

📘

### Request

To carry out the consumption of the service for the creation of the label it is necessary to send a JSON object of the guide type and it requires the filling of the following fields:

Guide

Field name

Type

MaxLength

Required

Comments

sender

Address


Required

It is the sender of the shipment

receiver

Address


Required

It is the consignee of the shipment

List of packages

Package (Array)

Package (Array)

Required

It is the list of packages that make up the order, at least one object within the array is required.

currency

String

5

Required

It's a constant value: USD

clientReference

clientreference

clientreference

Required

Use this field to assign your own reference

deliveryOption

DeliveryOption


Required

Use this field to assign your choose for the delivery option.

The default value for this field is id: 1.

To obtain the possible options see:

GetDeliveryOptions

packageType

PackageType


Required

Use this field to assign your choice for the package type. The default value should be id: 1 , which corresponds to the “envelope” packet type, but you can change it if necessary.To obtain the possible options see:

GetPackageTypes

serviceType

ServiceType

Optional

If your account is enabled to be able to select among the services assigned to you, use this field to specify the type of service you want to apply to the order. It is important that if you are using the field to select the idOrgDeliver, the service belongs to the Delivery Partner that you specify.

To obtain the possible options see:

The Service Types

However, remember that the privileges to use this field depend on the configuration of your account, otherwise the service is assigned by our system. (For some accounts is available to choose the service, please keep in mind an easy way to be configured on your development)

In case your account allows it, our API allows you to select through this parameter, among the different configurations assigned to the accounts that your organization has.

Ask your account executive for the possible values for this purpose.

idOrgDeliver

Org


Optional

Through this field it is possible to specify the deliveryPartner that you want to assign to the order, within the configuration of your account you have assigned different types of services and each one of them is provided by a specific organization. Therefore, if you also specify the serviceType field, the type of service must be provided by the organization that you specify in this field.

It is only possible to specify the organization that will be the deliveryParnter without specifying the serviceType and in this case our system will automatically assign the type of service of those that belong to the organization that you chose and you have assigned to your account.

To obtain the possible options see:

The DeliveryPartners

moreInfo

MoreInfo(Array)


Optional

Additional and customized information. Refer to the Additional Fields / More Info section

Child objects

The guide object contains sub-objects of which the filling of the following values is required

sender(Address)

Field Name

Type

Maxlength

Required

Comments

zip

(zip code)

Integer

10

Required

Zip code for the address of the sender

contact

PersonName


Required

It is an object of the type PersonName see the

contact section

for reference

city

String

100

Required

City of the sender's address.

country

String

50

Required

Country for the address of the sender

county

String

100

Optional

Neighborhood, Town, Municipality, District, Province, etc. of the sender's address

state

String

50

Optional

State for the address of the sender

email

String

100

Required

Email address that helps to contact the sender

street

String

250

Required

Street of sender's address

streetNumber

String

50

Optional

Street and number of the sender's address

apartmentNumber

String

50

Optional

Apartment, internal, etc. Number for the address of the sender

phone

Phone

10-15

Required

Phone that helps to contact the sender

phones (Array)

Array


Optional

Other phone(s) that helps to contact the sender

loactionReference

String

500

Optional

Here you can put the references of the domiciles

company

String

100

Optional

In this field you can enter your company name.

receiver (Address)

Field Name

Type

Maxlength

Required

Comments

zip

(zip code)

Integer

8

Required

Zip code for the address of the receiver shipment

contact

PersonName


Required

It is an object of the type PersonName see the

contact section

for reference

city

String

100

Optional

City of the receiver's address.

country

String

50

Required

Country for the address of the receiver shipment

county

String

100

Optional

Neighborhood, Town, Municipality, District, Province, etc. of the receiver's address

state

String

50

Optional

State for the address of the receiver shipment

email

String

100

Required

Email address that helps to contact the receiver

street

String

250

Required

Street of receiver's address

streetNumber

String

50

Optional

Street and number of the receiver's address

apartmentNumber

String

50

Optional

Apartment, internal, etc. Number for the address of the receiver shipment

phone

Phone

10-15

Required

Phone that helps to contact the receiver

phones (Array)

Array


Optional

Other phone(s) that helps to contact the receiver

loactionReference

String

500

Optional

Here you can put the references of the domiciles

packagePieces

Package

Field Name

Type

Maxlength

Required

Comments

height

Integer

9

Required

In centimeters.

It must be an integer number.

length

Integer

9

Required

In centimeters.

It must be an integer number.

width

Integer

9

Required

In centimeters.

It must be an integer number.

weight

Float

10,2

Required

In kilograms.

It may be a number with decimal point, and there must be a maximum of two figures after it. If the value contains more than two, the following figures will be ignored.

Example: if the user inputs 6.2375, the system will record 6.23

description

String

500

Optional

Use this field to enter the description of the contents of the package

declaredValue

Float

10,2

Required

enter the declared value of the merchandise, since in Mexico and other countries there is a regulation in which the law requires the value of the merchandise to be declared and the description of the material contained in the shipment to be announced.

piece

Integer

9

Required

It is the TOTAL quantity of items that the package contains, regardless their variety.

Example: Assuming the shipment contains mice and cables, the pieces field must include the total number of articles:

For this example, if you bring 5 mice and 4 cables, the piece field should be filled as 9.

We fully understand that sometimes you have this information repeated for several shipments, so just as in the other cases you can place a fixed value.

rfc_curp

String

18

Optional

RFC: It is the unique registration key that identifies any person who carries out an economic activity and must contribute to public spending before the SAT.

CURP: The Unique Population Registration Code (CURP) is an instrument that individually registers all inhabitants of the country, both nationals and foreign residents, as well as Mexican men and women who live in other countries.

The tax identification number of the country of residence or the social security number in the case of foreigners.

hts_code

Integer

10

Min 6

Optional

HTS stands for Harmonized Tariff Schedule, a classification system used in the United States to help determine customs duties to be paid on imports. HTS codes are 10-digits (the first six digits are the same as the HS code for the goods).

contact

PersonName

Field Name

Type

Maxlength

Required

Comments

givenName

String

200

Required

In this field it is expected to receive the name and may include the full name but it is recommended to divide it into its different parts within the PersonName object

surname

String

50

Optional

This field is used for the paternal surname, although it is optional it is recommended not to include the full name inside the givenName but it is better to divide it, since it helps in later searches

surname2

String

50

Optional

This field is used for the maternal last name, although it is optional it is recommended not to include the full name inside the givenName but it is better to divide it, since it helps in later searches

rfc

String

18

Optional

RFC: It is the unique registration key that identifies any person who carries out an economic activity and must contribute to public spending before the SAT.

CURP: The Unique Population Registration Code (CURP) is an instrument that individually registers all inhabitants of the country, both nationals and foreign residents, as well as Mexican men and women who live in other countries.

ServiceType

Use this field to specify some kind of service assigned to your account

Field Name

Type

Maxlength

Required

Comments

code

Integer

20

Optional

In case your account allows it, our API allows you to select through this parameter, among the different configurations assigned to the accounts that your organization has.

Ask your account executive for the possible values for this purpose.

Your executive can configure your account so that you can select between the different business flows, as it may be that you only want to use the services of customs clearance, b2b, c2c, etc. In these cases you can select one of these options.

To specify this option you can make use of this field using a value from the list provided by your executive.

id

Integer


Optional

It is required only if your KAM instructs you to send it; if so, they will specify the ID to be sent.

ClientReference

Field Name

Type

Maxlength

Required

Comments

code

String

50

Required

If your system generates a unique identifier that you want to link to the created order, you can send it in this field.

You can search for your orders through this field, so that you use your own tracking number.

There is the possibility of configuring your account so that in case our system receives this duplicate field, the system returns the previously created guide or if you wish we can configure your account so that this field can be repeated multiple times. In the second case, it is not possible to trace through this field.

MoreInfo

Field Name

Type

Maxlength

Required

Comments

idField

Integer


Required

Review the catalog of additional fields

value

String

100

Required

Information corresponding to the indicated field.

Additional Fields

ID

Field Name

Required

Comments

16

HS Code / HTS Code

Optional

In case the HS Code or HTS Code is not an integer.

17

Contains perfumes

Optional

Indicates whether the order contains a perfume. The value must be ‘true’, otherwise omit this field. if product contains perfume then '1' else '0'

18

Inflammable content

Optional

Indicates whether the content is flammable. The value must be ‘true’; otherwise, omit this field. if product is flameable liquid then '1' else '0'.

19

Contains batteries

Optional

Indicates whether the order contains a battery. The value must be ‘true’, otherwise omit this field. if product contains battery then '1' else '0'

30

Description Hazardous Material

Optional

If the guide contains any Hazardous Material, you must send a description of the material. (Max. length 100 characters)

31

Internal Hazardous Material code

Optional

If the guide contains any Hazardous Material, you must send its internal code (if any). (Max. length 100 characters)

52

Consignee AccountType

Optional

You must indicate whether it is a company by entering ‘business’ or an individual by entering ‘individual’.

🚧

BRAZIL

This section details the fields that must be considered mandatory for integration with Brazil, even though they may appear as optional in the general system documentation.

When sending data to Brazil, it is essential to ensure that the following fields are always complete

Field Name

Type

Maxlength

Required

Comments

(CONTACT) RECEIVER/SENDER surname

String

50

Required

This field is used for the surname, although it is optional it is recommended not to include the full name inside the givenName but it is better to divide it, since it helps in later searches

(CONTACT) SENDER **rfc_curp **

String

18

Required

RFC: It is the unique registration key that identifies any person who carries out an economic activity and must contribute to public spending before the SAT.

CURP: The Unique Population Registration Code (CURP) is an instrument that individually registers all inhabitants of the country, both nationals and foreign residents, as well as Mexican men and women who live in other countries.

(RECEIVER) city

String

100

Required

City of the receiver's address.

(RECEIVER) streetNumber

String

50

Required

Street and number of the receiver's address

(PACKAGE) rfc_curp

String

18

Required

The information you must send is : bussisnes (CNPJ) individual (CPF).

CPF (Cadastro de Pessoas Físicas) → 11 digits

CNPJ (Cadastro Nacional da Pessoa Jurídica) → 14 digits

(RECEIVER) state

String

50

Required

State for the address of the receiver shipment Find your state code in the state catalog Brazil.

(PACKAGE) hts_code

Integer

10

Required

HTS stands for Harmonized Tariff Schedule, a classification system used in the United States to help determine customs duties to be paid on imports. HTS codes are 10-digits (the first six digits are the same as the HS code for the goods). Validations (Max length 10 Min length 6 )

(PACKAGE) description

String

500

Required

Use this field to enter the description of the contents of the package

(SERVICETYPE) code

String

20

Required

If your account is enabled to be able to select among the services assigned to you, use this field to specify the type of service you want to apply to the order. It is important that if you are using the field to select the idOrgDeliver, the service belongs to the Delivery Partner that you specify. There are service type (DDU)

Use the service code HXSTGRU

You can consult the services types with your agent

(MOREINFO) Contains perfumes

Boolean

True or false

Required

Indicates whether the content is flammable. The value must be ‘true’; otherwise, omit this field. if product is flameable liquid then '1' else '0'.

(MOREINFO) Inflammable content

Boolean

True or false

Required

Indicates whether the content is flammable. The value must be ‘true’; otherwise, omit this field. if product is flameable liquid then '1' else '0'.

(MOREINFO) Contains batteries

Boolean

True or false

Required

Indicates whether the order contains a battery. The value must be ‘true’, otherwise omit this field. if product contains battery then '1' else '0

(MOREINFO) AccountType

String


Required

You must indicate whether is a company you should entering ‘business’ or ‘individual’.

🚧

State catalog

idNameCodeid_name
1AcreAC502
2AlagoasAL503
3AmapáAP504
4AmazonasAM505
5BahiaBA506
6CearáCE507
7Espírito SantoES508
8Federal DistrictDF509
9GoiásGO510
10MaranhãoMA511
11Mato GrossoMT512
12Mato Grosso do SulMS513
13Minas GeraisMG514
14ParaíbaPB515
15ParanáPR516
16ParáPA517
17PernambucoPE518
18PiauíPI519
19Rio de JaneiroRJ520
20Rio Grande do NorteRN521
21Rio Grande do SulRS522
22RondôniaRO523
23RoraimaRR524
24Santa CatarinaSC525
25São PauloSP526
26SergipeSE527
27TocantinsTO528
🚧

CHILE

This section details the fields that must be considered mandatory for integration with CHILE, even though they may appear as optional in the general system documentation.

When sending data to Brazil, it is essential to ensure that the following fields are always complete

Field Name

Type

Maxlength

Required

Comments

(RECEIVER)

city

String

100

Required

City of the receiver's address.

(RECEIVER)

streetNumber

String

50

Required

Street and number of the receiver's address

(SERVICETYPE) code

String

20

Required

If your account is enabled to be able to select among the services assigned to you, use this field to specify the type of service you want to apply to the order. It is important that if you are using the field to select the idOrgDeliver, the service belongs to the Delivery Partner that you specify.

You can consult the services types with your agent

Response

When the consumption is done, the API will return an object with the following features:

👍

### Successful response

Guide

Field name

Type

MaxLength

Comments

sender

Address


This field contains the data as originally received at the request.

receiver

Address


This field contains the data as originally received at the request.

packagePieces

Package (Array)


This field contains the data as originally received at the request.

guideNumber

String

30

This field contains de guide number generated.

trackingNumber

String


This field contains the tracking number of delivery partner

format

Byte[Array]


This field contains the bytes of the label PDF.

format_fileName

String

35

This field contains the file name of the label PDF.

❗️

### Failed Response

wsErrors elements

Field NameTypeComments
typeIntegerSeverity of the error
codeStringError code
descriptionStringDescription with more details of the detected error
❗️

### Errors

TypeCodeDescription
errorNJSONFThe object recived doesn't look like a valid json
errorGONULLYou must send to us a valid object of type Guide, please refer to documentation on: [URL API DOCS]
errorEXINSVThe filed: InsuredValue must be an object ( [MESSAGE] ) to see the schema for this object refer to: [URL API ] getInsuredValueScheme
errorNIVVThe filed: InsuredValue.Value in the guide object can't be null, must be defined
errorIVNNThe filed: InsuredValue.Value in the guide must be numeric and is required ( [MESSAGE] )
errorNIVTThe filed: InsuredValue.Code in the guide object can't be null, must be defined
errorEXPTThe filed: PackageType must be an object ( [MESSAGE] ) to see the schema and posible values for this object refer to: [URL API] getPackageTypes
errorNOPTThe filed: PackageType in the guide object can't be null, must be defined
errorNPTIThe filed: PackageType.id in the guide must be numeric and is required ( [MESSAGE] )
errorFLNIIf you include the filed: flag in the guide it must be an integer
errorFLNIIf you include the filed: format_B64 in the guide it must no to be empty
errorCODERRIf you include the COD cost it must be a float value
errorEXIMThe filed: infoMERQ must be an object ( [MESSAGE] )
errorEXADDTThe filed: Sender must be an object ( [MESSAGE] ) to see the schema for this object refer to: [URL API] getAddressScheme
errorNOADDTThe filed: Sender in the guide object can't be null, must be defined
errorEXRECEThe filed: Receiver must be an object ( [MESSAGE] ) to see the schema for this object refer to: [URL API] getAddressScheme
errorNORECEThe filed: Receiver in the guide object can't be null, must be defined
errorPRSERRWe can't parse your json to our guide object by an unexpected exception: ( [MESSAGE] )
errorEMPTYPRODThere are no products in stock for product : [SKU PRODUCT]
warningSTNOTMDPWe can't find the serviceType selected ( [SERVICE ID] ) on the list of services available to the selected ([DELIVERY ID) DP, the system will ignore the serviceType
warningSTNOTMDPWe can't find the serviceType selected ( [SERVICE ID] ) on the list of services available to the selected ( [DELIVERY ID] ) DP, the system will ignore the serviceType
errorNOSTONURSWe can't find the service type ( [SERVICE ID] ) on the list of services assigned to your user
errorNOCPFOUNDWe can't find the zip code that you're looking for please verify if it is correct
warningNOSTFOUNDWe can't find any service type assigned to your user
errorNOCPFOUNDWe can't find the zip code that you're looking for please verify if it is correct
errorNOFDXKEYThe keys id:3 is not found
errorEXCEPTIONOCURRIO UNA EXCEPCION AL OBTENER LAS TARIFAS DE id:3
errorNORPKEYThe keys id:4 is not found
errorEXCEPTIONOCURRIO UNA EXCEPCION AL OBTENER LAS TARIFAS DE id: 4
errorEXCEPTIONOCURRIO UNA EXCEPCION AL OBTENER LAS TARIFAS 13
errorEXCEPTIONOCURRIO UNA EXCEPCION AL OBTENER LAS TARIFAS 11
errorEXCEPTIONOCURRIO UNA EXCEPCION AL OBTENER LAS TARIFAS 11
errorEXCEPTIONOCURRIO UNA EXCEPCION AL OBTENER LAS TARIFAS 19
errorEXCEPTIONOCURRIO UNA EXCEPCION AL OBTENER LAS TARIFAS 19
errorEXCEPTIONOCURRIO UNA EXCEPCION AL OBTENER LAS TARIFAS 34
errorEXCEPTIONOCURRIO UNA EXCEPCION AL OBTENER LAS TARIFAS 73
errorEXCEPTIONOCURRIO UNA EXCEPCION AL OBTENER LAS TARIFAS 73
errorEXCESOCURRIO UNA EXCEPCION AL OBTENER LAS TARFIAS
errorEXCEPTIONOCURRIO UNA EXCEPCION AL OBTENER LA COBERTURA
warningRESTZONEWe can't use the delivery parnter: [DELIVERY ID] to the zip code [ZIP CODE RECEIVER] becasue is on the restricted coverage zone list of services
errorNOFDXKEYThe keys id:3 is not found
errorERRESTCWe can't consume the extended data from our deliveryPartner
errorNORPKEYThe keys id:4 is not found
errorERRESTCWe can't consume the extended data from our deliveryPartner
errorERRQPCWe can't consume the extended data from our deliveryPartner
errorERRCOGWe can't recover the id: 11 format for guide: [GUIDE NUMBER] and tracking code: [CLIENT REFERENCE]
errorERRPXCWe can't consume the extended data from our deliveryPartner 11
errorERRESTCWe can't consume the extended data from our deliveryPartner 19
errorERRESTCWe can't consume the extended data from our deliveryPartner 21
errorERRESTCWe can't consume the extended data from our deliveryPartner 21
errorERRESTCWe can't consume the extended data from our deliveryPartner 73
errorERRESTCWe can't consume the extended data from our deliveryPartner 13
errorERRSCMWe can't consume the extended data from our deliveryPartner 32
errorERRSNDXWe can't consume the extended data from our deliveryPartner 34
errorERRPORTEOWe can't consume the extended data from our deliveryPartner 136
errorERRESTCWe can't consume the extended data from our deliveryPartner 137
errorERRCAPOAPI MESSAGE 3 : [API MESSAGE]
errorAPICODE3-[EXCEPTION CODE]API MESSAGE 3 : [API MESSAGE]
errorAPICODE4-[EXCEPTION STATUS]API MESSAGE 4 : [API MESSAGE]
errorOVERWThe weight is over the permited by the contract
errorAPICODE11-[API MESSAGE TYPE]API MESSAGE 11 : [API MESSAGE]
errorAPICODE11-[API MESSAGE TYPE]API MESSAGE 11 : [API MESSAGE]
errorESTFERRAPI MESSAGE 19 : [API MESSAGE]
errorDHLMSGAPI MESSAGE 21 : [API MESSAGE]
errorEXCEPTIONEXCEPTION MESSAGE 73 : [EXCEPTION MESSAGE]
errorEXC_ERREXC-[EXCEPTION MESSAGE]
errorSCMERRAPI MESSAGE 32 : [API MESSAGE]
errorEXCEPTIONAPI MESSAGE 34 : [API MESSAGE]
errorNOIATATHE FIELD IATA IS NOT RECEIVED ON THE RESULT OF THE WEB SERVICE
errorNOIATATHE FIELD IATA IS NOT RECEIVED ON THE RESULT OF THE WEB SERVICE
errorAPICODE34-[API MESSAGE TYPE]API MESSAGE 34 : [API MESSAGE]
errorEXCEPTIONAPI MESSAGE 34 : [API MESSAGE]
errorEXCEPTIONTHE WEB SERVICE DOES NOT RETURN THE FIELDS REQUIRED TO PRINT THE LABEL
errorporteoERRPNError, no se ha generado al guia en el DP
errorporteoERRPNError, no se ha generado al guia en el DP
errorporteoERRPNerror, no se ha parsear la respuesta desde el webService del DP
errorporteoERRPNError, no se ha generado al guia en el DP
errorERRAPI MESSAGE 137 : [API MESSAGE]
errorERRAPI MESSAGE 137 : [API MESSAGE]
errorERRWe try to create the guide for J&T but it fail
errorERR[MESSAGE ERROR]
warningERRESTCWe can't consume the extended data from our deliveryPartner 182
errorERRWe try to create the guide for J&T but it fail
warningERRESTCWe can't consume the extended data from our deliveryPartner 182
errorERRMUEMalformedURLException : [MESSAGE]
errorERRIOEIOException : [EXCEPTION]
errorERRGNCGuia no creada
errorERRAPI250-[CODE][API MESSAGE]
warningERRESTCWe can't consume the extended data from our deliveryPartner 250
warningNQUOFWe don't have coverage on this area with your assigned deliveryPartner
errorEMPTYPRODThe product not found: [PRODUCT SKU]
errorGUIDE EXISTThe guide already exist
errorEMPTYPRODThe list of products is empty, please rectify
errorWARELFWe can't render the label to: [GUIDE NUMBER] we are returning the standard pdf file
warningORDERECWe detect your org use a unique reference, and we recover the last register created under it: [CLIENT REFERENCE]
errorCDESRVNNThe value you are sending in the code field of the serviceType object must be numeric, please verify it.
errorCDESRVNVThe value you are sending in the code field of the serviceType object is not valid, please verify it
warningONBRAKETIMEThe last transaccions is taking more than your timeout waiting time, please wait until the server restore the performance
warningNZIPCThe filed: ServiceType in the guide object is null, it could be because we don't have coverage on this area
errorNOSERVThe user: [USERNAME] doesn't have the serviceType: [SERVICE ID] required to create this order
warningNOLBLNWe detect your org use their own lable and as no format needed, if it is not true please inform us please
errorERRFCWe can't create the attached label file: [EXCEPTION MESSAGE]
warningWARELFWe can't render the label to: [GUIDE NUMBER] we are returning the standard pdf file
errorERRSGWe can't create the order guide, please contact with the IT team of Hound Express to report an solve it: [EXCEPTION MESSAGE]
warningNZIPCThe address is formed correctly but is the ZIP Code correct?, it is possible to create the document but maybe this shipment has problems to be delivered
warningNQUOFWe don't have coverage on this area with your assigned deliveryPartner
errorInvalid UserThe user does not have permission to use WMS
errorNull ObjectThe guide object is null
errorEmpty ProductsProducts are required
errorQuantity MissingQuantity is required
errorIdentifier MissingIdentifier is required
errorEmpty ReceiverReceiver is required
errorZip MissingZip is required
errorCountry MissingCountry is required
errorCounty MissingCounty is required
errorStreet Number MissingStreet Number is required
errorApartment Number MissingApartment Number is required
errorState MissingState is required
errorCity MissingCity is required
errorReceiver Name MissingReceiver Name is required
errorPhone MissingPhone is required
errorService Type MissingService Type is required
errorException[EXCEPTION MESSAGE]
errorERRCGDWe can't create the order, please contact with the IT team of Hound Express to report an solve it
Language
Click Try It! to start a request and see the response here!