Skip to main content
POST
/
v2
/
passtypes
Create Passtype
curl --request POST \
  --url https://api.loyalty.dog/v2/passtypes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'password=<string>' \
  --form 'certificate=<string>' \
  --form 'pkcs12=<string>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT access token obtained from POST /v2/token.

Headers

authorization
string | null

Body

multipart/form-data
password
string | null
certificate
string | null
pkcs12
string | null

Response

Successful Response