Skip to content

Get CSS template

/get_css_template

Target audience: Developers

Release version: 4.4.7

Get CSS template

Introduction

This endpoint returns a CSS template using a given ID. CSS templates are used in the marketplace and marketplace groups.

URI

Environment URI
Stage https://payway-api.stage.adeprimo.se/external/api/v3/marketing/get_css_template
Production https://backend.worldoftulo.com/external/api/v3/marketing/get_css_template

Requirements

Feature needs to be enabled by Adeprimo. Please contact support to enable.

Identity Scope
No /external/marketing/r

Parameters

Name Required Type Description
id Yes String The ID of the css template that is to be fetched.
Size range: 24

Curl Example

curl --request GET \
  --url https://payway-api.stage.adeprimo.se/external/api/v3/marketing/get_css_template?id=AAABBB123 \
  --header 'accept: application/json' \
  --header 'authorization: Bearer <access_token>'

Response

HTTP 200
{
  "item": {
    "id": "AABBCC112233",
    "name": "My css template",
    "code": ".myClass { }",
    "default": false
  }
}

Errors

This API uses the common error conventions of the Payway API

See common error responses