To submit your order, make a POST request to the Order Submit API with the following requirements:
POST https://api.farnell.com/order/order_SUBMIT
Request Headers
Name | Description |
api_key required * |
your_generated_api_key To generate your API key, follow the instructions on the Order API Registration page. |
authorization required * |
your_jwt_token To get your JWT token for authorization, use the Generate JWT Authentication Token API. |
Request Attributes
Name | Description |
poNumberId optional |
String Represents customer internal Purchase Order Number. |
poReleaseNumberId optional |
String Represents release number of customer internalpurchase order when split into multiple orders. |
taxExempt optional |
String Represents whether order is Tax Exempt. |
Sample Payload
{
"paymentVatNumberId": "<For Mexico store>",
"primaryReason": "<For Mexico store>",
"poNumberId": "PO 65345",
"poReleaseNumberId": "<For US store>",
"taxExempt": "<For US store>",
"fiscal_vatRegNum": "<For Italy store>",
"pecEmail": "<For Italy store>",
"codiceCode": "<For Italy store>"
}
Italy only - Request Attributes
Name | Description |
fiscal_vatRegNum required* |
String Represents Fiscal Code or Vat registration number |
pecEmail required* |
String Represents PEC Email - *only required if 11 digit vatRegNum is in request and codiceCode not present |
codiceCode required* |
String Represnts Codice Fiscale identification code - * only required if 11 digit vatRegNum in request and pecEmail not present |
Mexico only - Request Attributes
Name | Description |
paymentVatNumberId required* |
String Represent the VAT Registration Number |
primaryReason required* |
String Represents reason for order, key must be presented |
PrimaryReason – key must be presented
Name | Description |
G01 |
Acquisition of goods |
G03 |
General expenses |
I01 |
Buildings |
I02 |
Furniture and office equipment for investment |
I04 |
Computer equipment and accessories |
I05 |
Dyes, molds and tooling |
I06 |
Telephone communication |
I07 |
Satellite communication |
I08 |
Other machinery and equipment |
P01 |
undefined |
Response
Code 200
{ "orderReference": "<Order Confirmation Number>"}