To confirm a shipping method for your order, make a POST request to the Confirm Shipping Method API with the following requirements:
POST https://api.farnell.com/order/shipping_method
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 |
shippingMethodID required * |
String Shipping method ID chosen from the retrieve shippingAPI. methods API. |
specialInstructions optional |
String Special instructions to be included in the order. |
otherSpecialInstructions optional |
String Represents free text space to write special instructions relevant to the shipping of order |
carrierInstructions optional |
String Carrier instructions to be included in the order. |
orderNotes optional |
String Represents free text space to write notes relevant to order |
Sample Payload
{
"shippingMethodID": "600001751",
"specialInstructions": "other",
"otherSpecialInstructions": "test special instructions",
"carrierInstructions": "Deliver it in gate 2",
"orderNotes": "<For US region>"
}
Response
Code 200
{ “orderId”: “<Cart ID>”}