/
Automations

Automations

1. Cancel Order

Flipkart Trigger(Cancel Order) Node:

{ "id": 101250996, "typeOf": "trigger", "parentId": null, "rootId": null, "workspaceSlug": "", "authenticationId": 18044296, "title": "Cancel Order in Eshopbox", "paused": true, "versionCode": "96@122", "resourceSlug": "cancel_order", "params": { "filter##type": "cancelled", "filter##states[]": "Cancelled", "filter##cancellationType": "{{marketplaceCancellation}}", "filter##cancellationDate##to": "{{2020-09-28T11:47:23.377Z}}", "filter##cancellationDate##from": "{{2020-09-28T11:47:23.377Z}}" }, "meta": { "selectedGives": {} }, "createdById": 6364815, "isTemplate": false, "createdAt": "2020-09-22T08:30:05+00:00", "updatedAt": "2020-09-22T13:14:06+00:00" }

Eshopbox Action(Cancel Order) Node

{ "id": 76250696, "typeOf": "action", "parentId": 101250996, "rootId": 101250996, "workspaceSlug": "", "authenticationId": , "title": "Cancel Order in Eshopbox", "paused": true, "versionCode": "777800@1.0.0", "resourceSlug": "cancel_order", "params": { "externalChannelID": "Test", "customerOrderNumber": "{{101250996##shipments[]##shipmentId}}", "reason": "{{101250996##shipments[]##orderItems[]##cancellationReason}}", "cancellationTime": "{{101250996##shipments[]##orderItems[]##cancellationDate}}", "items[]##itemID": "{{101250996##shipments[]##orderItems[]##listingId}}", "items[]##quantity": "{{101250996##shipments[]##orderItems[]##quantity}}", "items[]##remark": "{{101250996##shipments[]##orderItems[]##cancellationSubReason}}", "items[]##lineItemSequenceNumber": "{{101250996##shipments[]##orderItems[]##orderItemId}}", "items[]##productName": "{{101250996##shipments[]##orderItems[]##title}}" }, "meta": { "selectedGives": { "101250996##shipments[]##shipmentId": "Shipment ID", "101250996##shipments[]##orderItems[]##title": "Title", "101250996##shipments[]##orderItems[]##cancellationReason": "Order Items Cancellation Reason", "101250996##shipments[]##orderItems[]##cancellationDate": "Order Items Cancellation Date", "101250996##shipments[]##orderItems[]##orderItemId": "Order Items Order Item ID", "101250996##shipments[]##orderItems[]##quantity": "Order Items Quantity", "101250996##shipments[]##orderItems[]##cancellationSubReason": "Order Items Cancellation Sub Reason" } }, "createdById": null, "isTemplate": false, "createdAt": "2020-09-22T08:30:05+00:00", "updatedAt": "2020-09-22T13:14:06+00:00" }

2 Create Return

  • Flipkart Trigger(Get Returns) JSON:

{ "id": 76250696, "typeOf": "trigger", "parentId": null, "rootId": null, "workspaceSlug": "", "authenticationId": 18044798, "title": "Create Return In Eshopbox", "paused": true, "versionCode": "96@121", "resourceSlug": "create_return", "params": { "source": "{{customer_return}}", "createdAfter": "{{2020-09-28T11:47:23.377Z}}" }, "meta": { "selectedGives": {} }, "createdById": 6364890, "isTemplate": false, "createdAt": "2020-09-23T08:30:05+00:00", "updatedAt": "2020-09-23T13:14:06+00:00" }
  • Flipkart Action(Find Order Item Details) JSON:

{ "id": 76250695, "typeOf": "action", "parentId": 76250696, "rootId": 76250696, "workspaceSlug": "", "authenticationId": 18044299, "title": "Get Order Item Details", "paused": true, "versionCode": "96@121", "resourceSlug": "order_details", "params": { "orderItemIds": "{{76250696##returnItems[]##orderItemId}}" }, "meta": { "selectedGives": { "76250696##returnItems[]##orderItemId": "Order Item ID" } }, "createdById": null, "isTemplate": false, "createdAt": "2020-09-23T08:30:05+00:00", "updatedAt": "2020-09-23T13:14:06+00:00" }
  • Flipkart Action(Find Shipment Details) JSON:

{ "id": 76250701, "typeOf": "action", "parentId": 76250696, "rootId": 76250695, "workspaceSlug": "", "authenticationId": 18044298, "title": "Get Shipping Details", "paused": true, "versionCode": "96@121", "resourceSlug": "shipment_details", "params": { "shipmentIds": "{{76250695##shipments[]##shipmentId}}" }, "meta": { "selectedGives": { "76250696##shipments[]##shipmentId": "Shipment ID" } }, "createdById": null, "isTemplate": false, "createdAt": "2020-09-23T08:30:05+00:00", "updatedAt": "2020-09-23T13:14:06+00:00" }
  • Eshopbox Action(Create Return) JSON:

{ "id": 76250702, "typeOf": "action", "parentId": 76250701, "rootId": 76250695, "workspaceSlug": "", "authenticationId": , "title": "Create Return in Eshopbox", "paused": true, "versionCode": "57887@111", "resourceSlug": "create_return", "params": { "customerReturnNumber": "{{76250696##returnItems[]##returnId}}", "customerOrderNumber": "{{76250695##shipments[]##shipmentId}}", "externalChannelID": "", "pickup_type": "reverse", "refundAmount": "", "isCOD": "0", "return_request_date": "{{76250696##returnItems[]##createdDate}}", "repaymentType": "", "pickupAddress##customerName": "{{76250701##shipments[]##deliveryAddress##firstName}}", "pickupAddress##addressLine1": "{{76250701##shipments[]##deliveryAddress##addressLine1}}", "pickupAddress##addressLine2": "{{76250701##shipments[]##deliveryAddress##addressLine2}}", "pickupAddress##city": "{{76250701##shipments[]##deliveryAddress##city}}", "pickupAddress##state": "{{76250701##shipments[]##deliveryAddress##state}}", "pickupAddress##postalCode": "{{76250701##shipments[]##deliveryAddress##pinCode}}", "pickupAddress##countryCode": "IN", "pickupAddress##countryName": "India", "pickupAddress##contactPhone": "{{76250701##shipments[]##deliveryAddress##contactNumber}}", "pickupAddress##email": "", "items[]##lineItemSequenceNumber": "{{76250701##shipments[]##orderItemId}}", "items[]##itemID": "{{76250695##shipments[]##listingId}}", "items[]##quantity": "{{76250696##returnItems[]##quantity}}", "items[]##returnReason": "{{76250696##returnItems[]##subReason}}", "items[]##additionalInfo##image": "", "items[]##additionalInfo##comments": "{{76250696##returnItems[]##comments}}" }, "meta": { "selectedGives": { "76250695##shipments[]##shipmentId": "Shipment ID", "76250696##returnItems[]##returnId": "Return ID", "76250696##returnItems[]##createdDate": "Return Created Date", "76250696##returnItems[]##quantity": "Quantity", "76250696##returnItems[]##orderItemId": "Order Item ID", "76250696##returnItems[]##listingId": "Listing ID", "76250696##returnItems[]##comments": "Comments", "76250696##returnItems[]##subReason": "Sub Reason", "76250701##shipments[]##deliveryAddress##city": "Delivery Address City", "76250701##shipments[]##deliveryAddress##contactNumber": "Delivery Address Contact Number", "76250701##shipments[]##deliveryAddress##firstName": "Delivery Address First Name", "76250701##shipments[]##deliveryAddress##lastName": "Delivery Address Last Name", "76250701##shipments[]##deliveryAddress##pinCode": "Delivery Address Pincode", "76250701##shipments[]##deliveryAddress##state": "Delivery Address State", "76250701##shipments[]##deliveryAddress##addressLine2": "Delivery Address Address Line 2", "76250701##shipments[]##deliveryAddress##stateCode": "Delivery Address State Code", "76250701##shipments[]##deliveryAddress##addressLine1": "Delivery Address Address Line 1" } }, "createdById": null, "isTemplate": false, "createdAt": "2020-09-23T08:30:05+00:00", "updatedAt": "2020-09-23T13:14:06+00:00" }