Send Purchase Order Request
DevelopingPOST
api/v0/purchase-order/req-sendRequest
Body Params application/json
device
object
required
tag
object
required
b2bIds
object
required
buyerB2BId
string
required
supplierB2BId
string
required
purchaseOrder
object
required
objectId
string
required
buyerPONumber
string
required
ts
string
required
orderDate
string
required
deliveryDate
string
required
subject
string
required
objectVersion
object
required
poStatusTransition
object
required
supplierDetails
object
required
buyerDetails
object
required
addressDetails
array [object {2}]
required
itemLists
array [object {21}]
required
poValueDetails
object
required
poInfos
array [object {2}]
required
contractReferenceDetails
array [object {6}]
required
additionalDocumentDetails
array [object {3}]
required
paymentMilestones
array [object {2}]
required
shippingTermsDetails
object
required
additionalInfos
array [object {2}]
required
name
string
optional
value
string
optional
Example
{
"device": {
"tag": {
"name": "GEOCODE",
"value": "string"
}
},
"b2bIds": {
"buyerB2BId": "string",
"supplierB2BId": "string"
},
"purchaseOrder": {
"objectId": "string",
"buyerPONumber": "string",
"ts": "string",
"orderDate": "string",
"deliveryDate": "string",
"subject": "string",
"objectVersion": {
"currentVersion": 0,
"newVersion": 0
},
"poStatusTransition": {
"currentStatus": "CREATED",
"newStatus": "CREATED"
},
"supplierDetails": {
"b2bId": "string",
"gstin": "string",
"legalName": "string",
"tradeName": "string",
"stateCode": "string",
"address": {
"type": "string",
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"country": "string",
"pincode": "string"
},
"contactNumber": {
"type": "string",
"countryCode": "string",
"phoneNumber": "string"
},
"email": "string"
},
"buyerDetails": {
"b2bId": "string",
"gstin": "string",
"legalName": "string",
"tradeName": "string",
"stateCode": "string",
"placeOfSupply": "string",
"address": {
"type": "string",
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"country": "string",
"pincode": "string"
},
"contactNumber": {
"type": "string",
"countryCode": "string",
"phoneNumber": "string"
},
"email": "string"
},
"addressDetails": [
{
"addressType": "string",
"address": {
"type": "string",
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"country": "string",
"pincode": "string"
}
}
],
"itemLists": [
{
"serialno": "string",
"productDescription": "string",
"isService": "string",
"hsnCode": "string",
"barCode": "string",
"quantity": 0,
"freeQuantity": 0,
"unit": "string",
"unitPrice": 0,
"totalAmt": 0,
"assessmentAmount": 0,
"gstRate": 0,
"totalItemValue": 0,
"orderLineReference": "string",
"originCountry": "string",
"productSerialNumber": "string",
"itemValueDetails": [
{
"type": "string",
"value": 0
}
],
"rates": [
{
"type": "string",
"value": 0
}
],
"batchDetails": {
"batchNumber": "string",
"expiryDate": "string",
"batchWarrantyDate": "string"
},
"attributeDetails": [
{
"name": "string",
"value": "string"
}
],
"otherTaxes": [
{
"name": "string",
"rate": 0,
"amount": 0
}
]
}
],
"poValueDetails": {
"totalPOValue": 0,
"otherValues": [
{
"type": "string",
"value": 0
}
]
},
"poInfos": [
{
"detailType": "string",
"detailValue": "string"
}
],
"contractReferenceDetails": [
{
"receiptAdviceNo": "string",
"receiptAdviceDate": "string",
"batchReferenceNo": "string",
"contractReferenceNo": "string",
"extraReferenceNo": "string",
"projectReferenceNo": "string"
}
],
"additionalDocumentDetails": [
{
"url": "string",
"document": "string",
"info": "string"
}
],
"paymentMilestones": [
{
"milestoneDate": "string",
"dueAmount": 0
}
],
"shippingTermsDetails": {
"terms": "string",
"bearingParty": "string",
"charges": 0
}
},
"additionalInfos": [
{
"name": "string",
"value": "string"
}
]
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
payload
string
required
response_code
integer
required
response_message
string
required
Example
{
"payload": "SUCCESS",
"response_code": 0,
"response_message": "SUCCESS"
}
Last modified: 3 months ago