Select

Select items from the catalog and build your order

Overview

The BAP will send items to the BPP to build the order

Request

URL

/select

Method

POST

Request Body Schema

Field Type
context* ContextForSelect
message MessageForSelect

Request Body Example

{
    "context": {
        "domain": "nic2004:55204",
        "country": "IND",
        "city": "std:080",
        "action": "select",
        "core_version": "0.9.1",
        "bap_id": "https://mock_bap.com/",
        "bap_uri": "https://mock_bap.com/beckn/",
        "bpp_id": "https://mock_bpp.com/",
        "bpp_uri": "https://mock_bpp.com/beckn/",
        "transaction_id": "1209849124",
        "message_id": "12341242343",
        "timestamp": "2021-03-23T10:00:40.065Z"
    },
    "message": {
        "order": {
            "items":[
                {
                    "id": "normal-documents",
                    "quantity": {
                        "count": 1
                    }
                }
            ]
        }
    }
}

The above select request adds a service to the cart.

Response

Response Body Schema

Field Type
message* { Ack }
error Error

Response Body Example

{
  "message": {
    "ack": {
      "status": "ACK"
    }
  }
}

Acknowledgement response

Response Codes

Code Description
200 Acknowledgement of message received
On this page