Skip to end of banner
Go to start of banner

GRN Posting Order Wise

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

Outbound | POST  | {Client’s URL}

Summary

This API will call the channel with GRN details.

Description

This API will call the channel with GRN information against an inward order.This API call will be triggered only after the inward order against a PO is closed.

Request

{
   "orderCode":"po123",
   "orderType":"PO/STO/RO",
   "locationCode":"l123",
   "messageId":12345,
   "orderItems":[
      {
         "channelSkuCode":"100005734",
         "qcPassQuantity":500,
         "qcFailQuantity":2
      },
      {
         "channelSkuCode":"100005736",
         "qcPassQuantity":498,
         "qcFailQuantity":3
      }
   ]
}

Parameter Name

Data Type

Description

Mandatory

orderCode

String

Unique code used by the channel to identify the order

Yes

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

messageId

Long

Unique Identifier of a notification

Yes

orderItems

Object[]

List of items GRNed

Yes

orderItems.channelSkuCode

String

SKU code of order item

Yes

qcPassQuantity

Integer

Qc pass quantity inwarded in order

Yes

qcFailQuantity

Integer

Qc fail quantity inwarded in order

Yes

Response

HttpStatus Code 200
{
    "hasError":false
}

  • No labels