Skip to main content
POST
/
auth
/
storefront
/
forgot-password
Forgot Password
curl --request POST \
  --url http://staging.qshop.ng/apiv2/auth/storefront/forgot-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "shop": "<string>"
}
'
{
  "msg": "<string>",
  "data": {
    "campaigns": "<array>",
    "_id": "<string>",
    "shop": {
      "_id": "<string>",
      "name": "<string>",
      "email": "<string>",
      "slug": "<string>",
      "domainName": "<string>",
      "logo_uuid": "<string>",
      "domainActive": true,
      "url": "<string>"
    },
    "user": {
      "kyc": {
        "status": "<unknown>",
        "attempts": 123,
        "errors": "<array>"
      },
      "suspended": true,
      "isActivated": true,
      "isPseudoAccount": true,
      "_id": "<string>",
      "roles": [
        "<string>"
      ],
      "email": "<string>",
      "username": "<string>",
      "__v": 123,
      "full_name": "<string>",
      "last_access": "<string>",
      "reg_date": "<string>",
      "shopCount": 123,
      "test_user": true,
      "telephone": "<string>",
      "status": "<string>",
      "addresses": "<array>"
    },
    "__v": 123,
    "acceptanceToken": "<unknown>",
    "created_at": "<string>",
    "email": "<string>",
    "fullName": "<string>",
    "isClaimed": true,
    "notes": "<array>",
    "notifyViaWhatsApp": true,
    "numberOfOrders": 123,
    "orderTotal": 123,
    "password": "<string>",
    "resetPassword": true,
    "roles": [
      {
        "_id": "<string>",
        "__v": 123,
        "isAdmin": true,
        "name": "<string>",
        "isSuperAdmin": true,
        "key": "<string>",
        "type": "<string>"
      }
    ],
    "suspended": true,
    "suspendedRoles": "<array>",
    "telephone": "<string>",
    "updated_at": "<string>",
    "whatsAppNumber": "<string>"
  },
  "success": true
}

Body

application/json
email
string
required
shop
string
required

Response

200 - application/json
msg
string
required
data
object
required
success
boolean
required