- EnKash Developer Portal Overview
- Payment Gateway
- Payment Gateway Overview
- Payment Gateway Sign Up
- Payment Methods
- Supported Integrations
- Payment Gateway APIs
- Web Integration
- Server to Server Integration
- Test Card Details
- Authorization
- Orders
- Payments
- Refunds
- Settlements
- Split Settlements
- E-Commerce Plugins
- Payment Links
- Payment Button
- Qr Code
- UPI Mandate
- Payment Links
- Bharat Connect (BBPS)
- About Bharat Connect
- B2B Invoicing
- Invoice
- Payment
- Financing
- Onboarding
- cdNote
- Purchase Order
- webhook-invoice
- webhook-payments
- webhook-business-onboarding
- webhook-financing
- webhook-cdNote
- Webhook Purchase Order
- Webhook Send Purchase Order RequestPOST
- Webhook Send Purchase Order ResponsePOST
- Webhook Confirm Purchase Order RequestPOST
- Webhook Confirm Purchase Order ResponsePOST
- Webhook Edit Purchase Order RequestPOST
- Webhook Edit Purchase Order ResponsePOST
- Webhook Status Change Purchase Order RequestPOST
- Webhook Status Change Purchase Order ResponsePOST
- Bill Payments
- Payouts
- Accounts Payable Management Tool
- Account Receivable
- Expense Management
- Loyalty
- Card Management
- Verification Suite
Webhook Status Change Purchase Order Request
Developing
POST
api/v0/purchase-order/req-status-change
Request
Body Params application/json
device
objectÂ
required
tag
objectÂ
required
b2bIds
objectÂ
required
buyerB2BId
stringÂ
required
supplierB2BId
stringÂ
required
poStatus
objectÂ
required
objectId
stringÂ
required
buyerPONumber
stringÂ
required
objectVersion
objectÂ
required
buyerAction
stringÂ
required
buyerRemarks
stringÂ
required
poStatusTransition
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"
},
"poStatus": {
"objectId": "string",
"buyerPONumber": "string",
"objectVersion": {
"currentVersion": 0,
"newVersion": 0
},
"buyerAction": "string",
"buyerRemarks": "string",
"poStatusTransition": {
"currentStatus": "CREATED",
"newStatus": "CREATED"
}
},
"additionalInfos": [
{
"name": "string",
"value": "string"
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'api/v0/purchase-order/req-status-change' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200Success
application/json
Body
response_message
stringÂ
required
response_code
integerÂ
required
payload
object (StatusChangePurchaseOrderResponse)Â
required
b2bIds
objectÂ
required
resp
objectÂ
required
poStatus
objectÂ
required
additionalInfos
array [object {2}]Â
required
Example
{
"response_message": "string",
"response_code": 0,
"payload": {
"b2bIds": {
"buyerB2BId": "string",
"supplierB2BId": "string"
},
"resp": {
"reqMsgId": "string",
"result": "string",
"errorCd": "string",
"errorDtl": "string",
"errorField": "string"
},
"poStatus": {
"objectId": "string",
"buyerPONumber": "string",
"objectVersion": {
"currentVersion": 0,
"newVersion": 0
},
"buyerAction": "string",
"buyerRemarks": "string",
"poStatusTransition": {
"currentStatus": "string",
"newStatus": "string"
}
},
"additionalInfos": [
{
"name": "string",
"value": "string"
}
]
}
}
Modified at 2024-10-10 11:22:00