Skip to content

PATCH doesn't include id field #77

Open
@erichaus

Description

@erichaus

When making a PATCH request, the jsonapi request body does not include the id field, which other jsonapi clients include.

PATCH /api/claims/abc-123

{
  "data": {
    "type": "claims",
    "attributes": {
      "redeemed_at": "2023-03-15T22:30:36.010Z"
    }
  }
}

How can I also include the id within the data prop?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions