Use this API to obtain information about the shop and associated sales business channels.
Learn how to create a collection in Commerce Manager in the Business Help Center.
Information about fb_sales_channel
and ig_sales_channel
such as status and fb_page
or ig_user
can be obtained using GET. Based on how a shop is configured, only defined sales channels appear in the output.
Field | Description |
---|---|
| Shows information about the Facebook shop sales channel. |
| Shows information about the Instagram shop sales channel. |
fb_sales_channel
Fields
Field | Description |
---|---|
| Shows status of the FB Shop Sales channel. Possible values: |
| Shows information about the associated Facebook page. |
ig_sales_channel
Fields
Field | Description |
---|---|
| Shows status of the Instagram Shop Sales channel. Possible values: |
| Shows information about the associated Instagram user. |
Sample Request
curl -G \ -d "access_token=<ACCESS_TOKEN>" \ https://graph.facebook.com/<API_VERSION>/<SHOP_ID>
Sample Response
{ "fb_sales_channel": { "status": "<ENABLED/DISABLED/STAGING>", "fb_page": { "name": "<example_fb_page>" } }, "ig_sales_channel": { "status": "<ENABLED/DISABLED/STAGING>", "ig_user": { "username": "<example_ig_user>" } }, "id": "<shop_id>" }