POST
/
branch
/
store
Create Store
curl --request POST \
  --url https://nini.monieswitch.com/branch/store \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Lord Lamba Store",
  "email": "[email protected]",
  "address": "No 12, lambe area",
  "website": "www.lord.lamba.com",
  "phoneNumber": "+2348123928345",
  "agents": [
    "5231edc7-95be-4913-8102-32400fe8b45b"
  ]
}'
{
  "status": true,
  "message": "Store successfully created.",
  "data": {
    "id": "d6ffb759-ca9b-4c7d-9514-c8551c6afc26",
    "name": "Somulu Market",
    "email": "[email protected]",
    "address": "No 12, Somolu market",
    "website": "www.somolu.market.com",
    "phoneNumber": "2348123928344"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201 - application/json

Create Store - Successful

The response is of type object.