Theme

The theme resource contains all data about how a Paylogic shop is represented.

Accepted methods

  • GET: Retrieve the details of a single theme.

Accepted query parameters

None.

Data

Field name

Type

Description

body

json

Theme body.

Embedded resources

There are no embedded relations for this resource.

Example representation

[GET] https://shopping-api.paylogic.com/theme/7416472c06884580a4dc76254174b005
{
  "_links": {
    "self": {
      "href": "https://shopping-api.paylogic.com/theme/7416472c06884580a4dc76254174b005"
    },
    "profile": {
      "href": "https://shopping-api-docs.paylogic.com/documentation/theme.html",
      "type": "text/html"
    }
  },
  "body": {
    "styles": {
      "border-radius": "0",
      "btn": {
        "primary": {
          "color": "#000",
          "background": "#fff"
        }
      },
      "form": {
        "field": {
          "hover": {
            "border": {
              "color": "#fff"
            }
          },
          "border": {
            "color": "#4d4d4d",
            "width": "0 0 1px 0"
          },
          "invalid": {
            "border": {
              "color": "#fd6d7f"
            }
          },
          "disabled": {
            "color": "#fff"
          },
          "background": "transparent",
          "placeholder": "#4d4d4d"
        },
        "checkbox": {
          "checked": {
            "background": "transparent"
          }
        },
        "field-group": {
          "input": {
            "color": "#fff",
            "background": "#4d4d4d"
          },
          "btn": {
            "color": "#fff",
            "hover": {
              "color": "#fff"
            },
            "background": "#FF64E6"
          },
          "border": {
            "color": "#4d4d4d"
          }
        }
      },
      "footer": {
        "container": {
          "padding": {
            "top": "3rem",
            "bottom": "3rem"
          }
        }
      },
      "color": {
        "inverse": "#fff",
        "success": "#14d6cf",
        "danger": "#fd6d7f",
        "muted": "#fff",
        "light": "#fff",
        "primary": "#fff",
        "base": "#fff",
        "on-primary": "#000",
        "on-secondary": "#000",
        "secondary": "#FBF174"
      },
      "alert": {
        "success": {
          "color": "#fff",
          "border": {
            "color": "#14d6cf"
          },
          "background": "#14d6cf"
        },
        "danger": {
          "color": "#fff",
          "border": {
            "color": "#fd6d7f"
          },
          "background": "#fd6d7f"
        }
      },
      "header": {
        "container": {
          "padding": {
            "top": "2rem",
            "bottom": "2rem"
          },
          "media": {
            "md": {
              "padding": {
                "top": "2rem",
                "bottom": "5.5rem"
              }
            }
          }
        }
      },
      "background": "#000",
      "content-section": {
        "media": {
          "md": {
            "padding": {
              "top": "0px",
              "bottom": "0px"
            }
          },
          "sm": {
            "padding": {
              "right": "0px",
              "left": "0px"
            }
          }
        },
        "background": "transparent"
      },
      "font": {
        "family": "'HelveticaNeueLTStd'"
      },
      "card": {
        "color": "#fff",
        "body": {
          "padding": {
            "top": "4rem",
            "right": "4rem",
            "left": "4rem",
            "bottom": "4rem"
          }
        },
        "separator": {
          "color": "#4d4d4d"
        },
        "background": "#000",
        "title": {
          "font-size": "2rem"
        }
      }
    }
  }
}