Skip to end of banner
Go to start of banner

GRN Posting API (Gate Entry) (Beta)

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 2 Next »

Outbound | POST  | {Client’s URL}

Summary

This API will call the channel with GRN details per gate entry wise.

Description

This API will call the channel with GRN information against a gate entry.This API call will be triggered only after the gate entry is closed.

Request

{
  "orderCode": "po123",
  "parentOrderCode": "parent123",
  "orderType": "PO/STO/RO",
  "invoiceId": "invoice123",
  "awbNumber": "awb_01",
  "invoiceDate": "2020-10-16T20:22:28.000+00:00",
  "gateEntryCreatedAt": "2020-09-16T20:22:28.000+00:00",
  "gateEntryId": "gt234",
  "messageId": 12345,
  "locationCode": "l123",
  "partnerCode": "partnerCode",
  "partnerLocationCode": "partnerLocationCode",
  "orderItems": [
    {
      "channelSkuCode": "100005734",
      "qcPassQuantity": 500,
      "qcFailQuantity": 2,
    },
    {
      "channelSkuCode": "100005736",
      "qcPassQuantity": 498,
      "qcFailQuantity": 32,
    }
  ]
}

Parameter Name

Data Type

Description

Mandatory

orderCode

String

Unique code used by the channel to identify the order

yes

parentOrderCode

String

Parent Order Code which was passed at the time of Inward Order Creation

No

orderType

String

Possible value - STO (Stock Transfer Order), PO(Purchase Order), RO(Return Order)

yes

locationCode

String

Code used by channels to identify a warehouse

Yes

invoiceId

String

Unique Id with which the shipment is arrived in the warehouse.

yes

awbNumber

String

Awb Number of the shipment received in the warehouse.

Yes

invoiceDate

String

Time at which order was placed at the channel in UNIX (UTC)

yes

gateEntryCreatedAt

String

Time at which gate entry was created at the channel in UNIX (UTC)

yes

gateEntryId

String

Unique Id used to differentiate a gate entry

yes

messageId

Long

Unique Identifier of a message ( for de-duplication )

Yes

partnerCode

String

This represents the partner from which this inward order came.

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

Yes

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

Yes

orderItems

Object[]

List of items GRNed

yes

orderItems.channelSkuCode

String

SKU code of order item

yes

orderItems.qcPassQuantity

Integer

Qc pass quantity inwarded in order

yes

orderItems.qcFailQuantity

Integer

Qc fail quantity inwarded in order

yes

Response

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

HttpStatus : 200

  • No labels