Get Stores list


This API allows you to see all the WhatsApp stores you created

Settings:

URL

https://partners.99digital.co.il/api/whatsapp/getStores

Method

JSON via GET

Header

Authorization: Bearer {{access_token}}

*The access_token can be received from settings->get access token API.


Body: nothing, leave it empty.


Response:

{
    "status": "OK",
    "reason": 1,
    "totalStores": 1,
    "list": [
        {
            "whatsapp": "972501234567",
            "business_name": "My Store",
            "token": "abc123xyz789...",
            "reference": "ref123",
            "status": 1,
            "onboarding_link": "https://onboarding.direct/abc123",
            "site_url": "https://mystore.com",
            "created_at": "1699999999"
        }
    ]
}

Response-Explain:

Parameter

Description

status

OK or FAIL

"OK" means the request has been sent to Meta.

"Fail" means error.

list

array of [whatsapp, business_name, token, reference, status, onboarding_link, site_url, created_at]

Explanation:

created_at

Unix timestamp when the store was created

whatsapp

The WhatsApp number related to this store

token

The store token to share with the client

onboarding_link

The onboarding link you should share with your client for him to set up his WhatsApp account

site_url

The store website of the client

business_name

The client's business name

reference

The reference that was provided by you

status

0 - the client did not finish the store onboarding process

1 - the store onboarding process was finished

reason

'reason' is the status explanation in case of FAIL

1

not FAIL. the status is OK

2

Wrong credentials

3

Access token does not exist or expired, please generate another one from Settings - Get access token API

13

you need to use GET method.