/
Shipment Dispatched: AJIO Manifest Flow

Shipment Dispatched: AJIO Manifest Flow

Step 1. Listen to the Shipment Dispatched event and proceed with the steps as follows:

{ "resource": "shipment", "eventType": "PUT", "eventSubType": "dispatched", "accountSlug": "eshop", "actor": "SYSTEM", "version": "v1", "request_data": [], "response_data": { "customerOrderNumber": "1be04821-9e9e-4168-9da2-5f813b50c3a7", "orderSiteID": "FBA", "vendorOrderNumber": "171-3336073-1210717", "externalShipmentID": "UNPDjlGHw", "externalWarehouseID": "Eshopbox_Mumbai", "externalChannelID": "CH1200", "externalWmsChannelName": "AJIO_ESHOP_ZMUM_1368", "external_wms_channel_id": 1368.0, "channelLabel": "Amazon Prime", "integrationType": "15", "defaultWarehouseCode": "Eshopbox_Mumbai", "facilityLabel": "Mumbai (ZMUM)", "facilityType": "auperator", "orderDate": "2022-06-14 20:48:05", "portal_id": 2.0, "paymentType": "Prepaid", "expectedShipDate": "2022-06-15 15:00:00", "order_id": 4.3636692E7, "channel_id": 1200.0, "warehouse_id": 648.0, "channel_account_id": 0.0, "account_id": 5.0, "connectionId": 2163.0, "locationId": "d1391379-8283-4335-a43c-0a2eb2fe2d21", "region": "National", "isMetro": "0", "isSpecialplace": "0", "invoiceNumber": "XWRA-6719", "boxType": "UNKNOWN", "isPriorityShipment": "1", "isGift": "0", "invoice_url": "https://storage.googleapis.com/amzprime-files/invoice/UNPDjlGHw-1655219969914.pdf", "invoiceDate": "2022-06-15 11:59:32", "label_url": "https://storage.googleapis.com/eshopbox_wms_uploads/amazon-sc-labels/20220615115945541277404.pdf", "labels": {}, "boxAdditionalRecommendation": { "shippingType": "MARKETPLACE", "channelName": "FBA", "shippingModel": "FBA" }, "dimension_length": "4.9", "dimension_width": "8.1", "dimension_height": "22.9", "weight": "570", "trackingID": "", "trackingDomain": "", "packageID": "1", "barcode": "", "taxAmount": 57.81, "shipChargeAmount": 40.0, "courierName": "ATS", "cp_id": 0.0, "created_at": "2022-06-14 20:48:21", "updated_at": "2022-06-15 11:59:48", "status": "packed", "remarks": "", "warehousePincode": "421302", "thirdPartyShipping": true, "customerName": "xyz", "customerContactNumber": "0000000000", "email": "xyz@test.com", "status_updated_at": "2022-06-15 11:59:48", "status_log": { "created": "2022-06-14 20:48:21", "accepted": "2022-06-14 20:49:20", "picked": "2022-06-15 09:17:10", "packed": "2022-06-15 11:59:48" }, "status_log_first_occurrence": { "packed": "2022-06-15 11:59:48", "picked": "2022-06-15 09:17:10", "accepted": "2022-06-14 20:49:20", "created": "2022-06-14 20:48:21" }, "status_log_count": { "created": 1.0, "accepted": 1.0, "picked": 1.0, "packed": 1.0 }, "status_log_id": "85031762", "orderExternalCreatedAt": "2022-06-14 20:48:16", "shippingAddress": { "customerName": "xyz", "addressLine1": "Test Address", "addressLine2": "", "city": "agra", "state": "UTTAR PRADESH", "postalCode": "283111", "countryCode": "IN", "countryName": "India", "contactPhone": "0000000000", "email": "xyz@test.com" }, "warehouseAddress": { "addressLine1": "Survey no 20/1, Global complex, Godown no. A/6, Village-Kukse Borivali", "addressLine2": "Near Shangrila Resort, Taluka Bhiwandi, Dist Thane", "city": "Thane", "state": "Maharashtra", "postalCode": "421302", "gstin": "27AAFCB0498R1ZZ" }, "id": 1.161563E7, "isCOD": "0", "track_payload": [], "packed_date": "2022-06-15 11:59:48", "items": [ { "order_item_id": 2.4418226E7, "lineItemSequenceNumber": 1.0, "orderItemID": "UNPDjlGHw-24418226", "itemID": "00VKE3H0ZLP", "sku": "00VKE3H0ZLP", "asin": "", "productName": "testProduct", "quantity": 1.0, "orderItemCreatedAt": "2022-06-14 20:48:16", "customerPrice": 379.0, "lineItemTotal": 379.0, "invoiceTotal": 426.2, "cashOnDeliveryCharges": 0.0, "discount": 0.0, "taxRate": 0.18, "taxAmount": 0.0, "inventoryItemCode": "", "giftMessage": "", "giftLabelContent": "", "lineItemOrderStatus": "fulfillable", "orderItemIDs": [ "UNPDjlGHw-24418226" ], "productImageUrl": "https://i.postimg.cc/FH9sKvRw/8058664152643.jpg", "shippingCharges": 47.2, "isVirtualKit": "0", "onhold": "0", "cancellationAdditionalReason": "", "cancellationReason": "", "customerOrderItemID": "1", "recallBlockedInventoryUsed": "" } ] }, "previous_data": [], "resource_type": "shipment.update", "account_slug": "eshop", "custom": [] }

Step 2. Prepare the Required request body for Manifest as mentioned below:

Ajio Manifest API

Eshopbox Keys

Ajio Manifest API

Eshopbox Keys

carrier

response_data.courierName

shipments[].order_id

response_data.customerOrderNumber

weight

response_data.weight

Step 3. The request body will look like the below and then make an HTTP Post Request

POST API:

https://api-seller.services.ajio.com/manifest

Request Body:

{ "carrier": "string", "shipments": [ { "order_id": "string", "weight": 0 } ] }

Response:

{ "failed_items": [ { "error_message": "string", "order_id": "string" } ], "manifest_id": "string", "manifest_url": "string", "status": "enum (SUCCESS, FAILED, IN_PROGRESS)" }

(Additional) Step 4. Once the Ajio Manifest API gives a successful response, then save the required data in Manifest

Ajio Manifest API Response Keys

Eshopbox Keys

Ajio Manifest API Response Keys

Eshopbox Keys

manifest_id

manifests.externalManifestNumber

manifest_url

manifests.manifest_url

status

manifests.status

 

channelData.warehouse_id

 

Related content