ShopEazydevelopers
API referenceMerchant API BetaSocial

Which events draft a social post by themselves

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

Read from the store's settings; a store that never saved any answers the defaults (all four on). A read, so a store whose plan has lapsed can still read it.

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*

Which events draft a social post by themselves. They are only ever drafts: nothing goes out until it is approved (publishSocialPost, scheduleSocialPost). All four default to true.

Example Request
curl -X GET 'https://api.shopeazy.co/v1/merchant/stores/<storeId>/social/automation' \  -H 'Authorization: Bearer <access_token>'
Example Response
{  "data": {    "newProduct": true,    "priceDrop": true,    "backInStock": true,    "discount": true  }}