PUT /purchase-statuses/{id}.json

PUT /purchase-statuses/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

Body Required

  • createdAt string(date-time)

    Created at

  • id integer(int32)


  • level string | null Required

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

  • name string Required


  • updatedAt string(date-time)

    Updated at

PUT /purchase-statuses/{id}.json
curl \
 -X PUT http://api.example.com/v1/purchase-statuses/{id}.json \
 -H "Content-Type: application/json" \
 -d '{"createdAt":"2023-05-04T09:42:00+00:00","id":42,"level":"default","name":"string","updatedAt":"2023-05-04T09:42:00+00:00"}'
Request example
  "createdAt": "2023-05-04T09:42:00+00:00",
  "id": 42,
  "level": "default",
  "name": "string",
  "updatedAt": "2023-05-04T09:42:00+00:00"