List Advertisements

GET {{baseUrl}}/advertisements

This endpoint allows you to list all of the advertisement posts of the store.

🌐 Multi-Lang Support

The following are translate-able by the Header Values, such as ACCEPT-LANGUAGE & CONTENT-LANGUAGE:

Variable Title
description
OAuth Scopes


marketing.read

HEADERS

KeyDatatypeRequiredDescription
ACCEPT-LANGUAGEstringSet Language Code you want to get the response with. Retrieve a list of supported languages using the Language Endpoint. Use the iso_code value you get from the language endpoint as a value in this header.
CONTENT-LANGUAGEstring(OPTIONAL) Show the used language of the response. Note that not passing a value here or passing the default value of the iso_code as ar will not appear in the response.
Acceptstring

RESPONSES

status: OK

{"status":200,"success":true,"data":[{"id":2142305900,"title":"تخفيضات على جميع التيشيرتات","description":"أعلان لتصنيف التيشيرت","type":{"id":1032561074,"name":"category","link":null},"style":{"icon":"sicon-braille-hand","font_color":"#ffffff","background_color":"#9d8383"},"expire_date":{"date":"2022-01-21 00:00:00.000000","timezone_type":3,"timezone":"Asia/Riyadh"},"pages":["all"]},{"id":235400060,"title":"جميع المنتجات ستتوفر مرة أخرى بعد العيد","description":"توفر المنتجات","type":{"id":null,"name":"without_url","link":null},"style":{"icon":"sicon-bell","font_color":null,"background_color":null},"expire_date":{"date":"2022-12-12 00:00:00.000000","timezone_type":3,"timezone":"Asia/Riyadh"},"pages":["cart","product"]}],"pagination":{"count":5,"total":5,"perPage":15,"currentPage":1,"totalPages":1,"links":[]}}