Istores API Documentation
MyIstores Api

Store themes

Endpoint:https://api.istores.co.il

Custom store theme CSS and JS code


Get custom JS code

GET
https://api.istores.co.il
/store_themes/js

Get the current custom JS code for the authenticated store.

Get custom JS codeResponses

success

  • successboolean
    Example: true
  • responseobject
  • request_idstring
    Example: 1ef2da0b-6f98-6fec-b13f-06c63b84be49

Update custom JS code

PUT
https://api.istores.co.il
/store_themes/js

Create or update the custom JS code for the authenticated store.

Update custom JS codeRequest Body
optional

  • codestring | null

    Custom CSS or JS code. Send null or an empty string to clear the current code.

Update custom JS codeResponses

success

  • successboolean
    Example: true
  • responseobject
  • request_idstring
    Example: 1ef2da0b-6f98-6fec-b13f-06c63b84be49

Get custom CSS code

GET
https://api.istores.co.il
/store_themes/css

Get the current custom CSS code for the authenticated store.

Get custom CSS codeResponses

success

  • successboolean
    Example: true
  • responseobject
  • request_idstring
    Example: 1ef2da0b-6f98-6fec-b13f-06c63b84be49

Update custom CSS code

PUT
https://api.istores.co.il
/store_themes/css

Create or update the custom CSS code for the authenticated store.

Update custom CSS codeRequest Body
optional

  • codestring | null

    Custom CSS or JS code. Send null or an empty string to clear the current code.

Update custom CSS codeResponses

success

  • successboolean
    Example: true
  • responseobject
  • request_idstring
    Example: 1ef2da0b-6f98-6fec-b13f-06c63b84be49

Upload store theme media

POST
https://api.istores.co.il
/store_themes/media/upload

Upload a media file for the authenticated store theme. Send a multipart/form-data request with the file field named file. Supported image formats are jpg, jpeg, png, gif, and webp; mp4 is accepted only when video banners are enabled for the store.

Upload store theme mediaRequest Body

  • filestring · required

Upload store theme mediaResponses

success

  • successboolean
    Example: true
  • imagestring · uri

    Uploaded media URL.

    Example: https://cdn.istores.co.il/image/upload/clients/12345/store-theme-media.webp
  • request_idstring
    Example: 1ef2da0b-6f98-6fec-b13f-06c63b84be49