ONDC-Official / ONDC-Protocol-Specs

Open Network for Digital Commerce (ONDC) Open API Specifications. ONDC is an ambitious initiative to democratize digital commerce by creating a decentralized network of buyer apps and seller apps through an interoperable protocol specification.
Other
140 stars 59 forks source link

Need to pass provider location in Order details for cascaded transactions #11

Closed BLR-0118 closed 2 years ago

BLR-0118 commented 2 years ago

Reported by Grab: Certain logistics providers need the provider location (seller address field) to create merchant record. While Order has provider.locations.id, the location details are only available within the same domain and not cross-domain. For cross-domain cascaded transaction, this information needs to be passed through.

BLR-0118 commented 2 years ago

@Ajit-grab - please verify whether this is correct: To Order, add:

Ajit-Grab commented 2 years ago

Hi @BLR-0118

Can You Please provide Sample Payload for this

$ref: '#/components/schemas/Offer'

    item:

      $ref: '#/components/schemas/Item'

    ./ondc-payload_details:

      type: object

      description: payload details that will allow logistics provider to determine serviceability.<br>

                   For weight, enums for unit are:<br>

                   "Kilogram"<br>

                   "Gram"<br>

                   For dimensions, enums for length.unit, breadth.unit and height.unit are:<br>

                   "meter"<br>

                   "centimeter"<br>

      properties:

        weight:

          $ref: '#/components/schemas/Scalar'

        dimensions:

          $ref: '#/components/schemas/Dimensions'

    tags:

      $ref: '#/components/schemas/Tags'

ItemQuantity:
BLR-0118 commented 2 years ago

Added to ONDC Protocol Specs