ShopEazydevelopers
API referenceMerchant API BetaSocial

Is the shop's Facebook Page connected

Beta
Credentials
  • OAuth access token
Scopes
marketing:read
GET
/v1/merchant/stores/{storeId}/social/facebook

Whether a Page is connected, which one, whether it is working, when it last posted and its linked Instagram account, and whether this store may connect a Page now (available: Meta is set up for the store). Ids and names only: never a token, from this call or any other.

A connection status of error means Meta refused the last post (a dead token looks like posting that quietly does nothing, so it is shown): connect the Page again.

Access: OAuth scope marketing:read; not write-gated.

Authorization

merchantOAuth marketing:read
headerAuthorizationBearer <token>

OAuth 2.1 (authorization code + PKCE S256, public clients, dynamic registration) for connected AI apps. Effective power is scopes granted AND the person's role today AND the plan. orders:refund, billing:write and team:write are opt-in on the consent screen. Write implies read for marketing:read and messages:read, so a grant holding marketing:write passes a marketing:read check, and messages:send passes messages:read.

Scope: marketing:read

Path Parameters

storeId*string

A store the person can reach. Any other id answers 404, never 403.

Response Body

OK

application/json
  1. response
data*

The shop's Facebook channel. Ids and names only: never a token.

Example Request
curl -X GET 'https://api.shopeazy.co/v1/merchant/stores/<storeId>/social/facebook' \  -H 'Authorization: Bearer <access_token>'
Example Response
{  "data": {    "available": false,    "connected": false,    "pageId": null,    "pageName": null,    "category": null,    "status": null,    "lastError": null,    "connectedAt": null,    "lastPostAt": null,    "instagramUsername": null  }}