# Confirm Purchase Order Response Webhook

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/purchase-order/resp-confirm:
    post:
      summary: Confirm Purchase Order Response Webhook
      deprecated: false
      description: ''
      tags:
        - >-
          Bharat Connect (BBPS)/APIs - BBPS/Vendor Payment/Webhook/Purchase
          Order
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfirmPurchaseOrderResponse'
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  payload:
                    type: string
                  response_code:
                    type: integer
                  response_message:
                    type: string
                required:
                  - payload
                  - response_code
                  - response_message
                x-apidog-orders:
                  - payload
                  - response_code
                  - response_message
                x-apidog-ignore-properties: []
              example:
                payload: SUCCESS
                response_code: 0
                response_message: SUCCESS
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: Bharat Connect (BBPS)/APIs - BBPS/Vendor Payment/Webhook/Purchase Order
      x-apidog-status: developing
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-18788160-run
components:
  schemas:
    ConfirmPurchaseOrderResponse:
      type: object
      properties:
        b2bIds:
          type: object
          properties:
            buyerB2BId:
              type: string
            supplierB2BId:
              type: string
          required:
            - buyerB2BId
            - supplierB2BId
          x-apidog-orders:
            - buyerB2BId
            - supplierB2BId
          x-apidog-ignore-properties: []
        resp:
          type: object
          properties:
            reqMsgId:
              type: string
            result:
              type: string
            errorCd:
              type: string
            errorDtl:
              type: string
            errorField:
              type: string
          required:
            - reqMsgId
            - result
            - errorCd
            - errorDtl
            - errorField
          x-apidog-orders:
            - reqMsgId
            - result
            - errorCd
            - errorDtl
            - errorField
          x-apidog-ignore-properties: []
        poConfirmation:
          type: object
          properties:
            objectId:
              type: string
            buyerPONumber:
              type: string
            supplierResponse:
              type: string
            supplierRemarks:
              type: string
            objectVersion:
              type: object
              properties:
                currentVersion:
                  type: integer
                newVersion:
                  type: integer
              required:
                - currentVersion
                - newVersion
              x-apidog-orders:
                - currentVersion
                - newVersion
              x-apidog-ignore-properties: []
            poStatusTransition:
              type: object
              properties:
                currentStatus:
                  type: string
                newStatus:
                  type: string
              required:
                - currentStatus
                - newStatus
              x-apidog-orders:
                - currentStatus
                - newStatus
              x-apidog-ignore-properties: []
          required:
            - objectId
            - buyerPONumber
            - supplierResponse
            - supplierRemarks
            - objectVersion
            - poStatusTransition
          x-apidog-orders:
            - objectId
            - buyerPONumber
            - supplierResponse
            - supplierRemarks
            - objectVersion
            - poStatusTransition
          x-apidog-ignore-properties: []
        additionalInfos:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              value:
                type: string
            x-apidog-orders:
              - name
              - value
            x-apidog-ignore-properties: []
      required:
        - b2bIds
        - resp
        - poConfirmation
        - additionalInfos
      x-apidog-orders:
        - b2bIds
        - resp
        - poConfirmation
        - additionalInfos
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
