GET /purchase-statuses/{id}.json

GET /purchase-statuses/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • createdAt string(date-time)

      Created at

    • id integer(int32)

      Id

    • level string | null Required

      Level

      Values are default, warning, or danger. Default value is default.

    • name string Required

      Name

    • updatedAt string(date-time)

      Updated at

GET /purchase-statuses/{id}.json
curl \
 -X GET http://api.example.com/v1/purchase-statuses/{id}.json \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "createdAt": "2024-05-04T09:42:00+00:00",
  "id": 42,
  "level": "default",
  "name": "string",
  "updatedAt": "2024-05-04T09:42:00+00:00"
}