Skip to end of banner
Go to start of banner

Real Time GRN Notifications API (Order)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Current »

Outbound | POST  | {Client’s URL}

Summary

This API sends near real-time GRN Notifications to ERP. The feature will help to keep the ERP systems notified about all the GRN’s happening for a client.

Description

This API sends all the GRN notifications order-wise for the orders for which items have been GRN’ed since the time the job last ran and synced notifications successfully to ERP. Frequency of this job is configurable.

Request

{
   "orderCode":"po123",
   "partnerCode":"partner1",
   "partnerLocationCode":"partnerLoc1",
   "locationCode":"l123",
   "messageId":12345,
   "parentOrderCode": "pOrder123",
   "items":[
      {
         "channelSkuCode":"100005734",
         "qcPassAbsoluteQuantity":500,
         "qcFailAbsoluteQuantity":2,
         "qcFailDeltaQuantity":1,
         "qcPassDeltaQuantity":1
      },
      {
         "channelSkuCode":"100005736",
         "qcPassAbsoluteQuantity":400,
         "qcFailAbsoluteQuantity":2,
         "qcFailDeltaQuantity":2,
         "qcPassDeltaQuantity":2
      }
   ]
}

 

Parameter Name

Data Type

Description

Mandatory

orderCode

String

Unique code used by the channel to identify the order

Yes

partnerCode

String

This represents the partner from which order will come.

If Order is of type PO/STO, this field represents vendor's code

If Order is of type RO, this field represents customer’s code

no

partnerLocationCode

String

This represents the partner’s location from which order will come.

If Order is of type PO/STO, this field represents vendor location’s code

If Order is of type RO, this field represents customer location’s code

no

locationCode

String

Code used by channels to identify a warehouse

Yes

messageId

Long

Unique Identifier of a notification ( for de-duplication )

Yes

parentOrderCode

String

Parent order code

yes

items

Object[]

List of items GRNed

Yes

items.channelSkuCode

String

SKU code of order item

Yes

qcPassAbsoluteQuantity

Integer

Total Qc pass quantity GRNed in order for the SKU

Yes

qcFailAbsoluteQuantity

 

Integer

Total Qc fail quantity GRNed in order for the SKU

Yes

qcPassDeltaQuantity

Integer

Qc pass quantity GRNed in order for the SKU since the last notification to ERP for the order.

Yes

qcFailDeltaQuantity

Integer

Qc fail quantity GRNed in order for the SKU since the last notification to ERP for the order.

Yes

Response

HttpStatus Code

200

{
    "hasError":false,
    "errorMessage":"message"
}

 

  • No labels