Skip to content

Get CSS template

/get_css_template

Target audience: Developers

1
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 groupings.

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

1
2
3
4
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

1
2
3
4
5
6
7
8
9
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