Skip to main content

Create DIO Merchant Cart

Create Done In One (DIO) Cart for Merchants This API creates an done in one cart for merchant user passed in payload

Path Parameters
  • merchant_name string required

    The name of the merchant

    Example: test_merchant
Header Parameters
  • X-Access-Key string required

    The public access key

    Example: 1mg_public_access_key
  • X-City string required

    City Name of the user

    Example: Bangalore
  • Authorization string required

    A JWT authorization token

    Example: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTIzNDU2Nzg5LCJuYW1lIjoiSm9zZXBoIn0.OpOSSw7e485LOP5PrzScxHb7SR6sAOMRckfFwi4rp7o
Request Body required
  • user object
  • email string
  • mobile string required
  • first_name string
  • last_name string
  • address object
  • pincode string required
  • contact_number string
  • name string
  • street1 string required
  • street2 string
  • type string
  • prescriptions string[]
Responses

OK


Schema
    any
Loading...