By default attributes on record parameters apply to the parameter. To make them apply to the property you have to prefix it with the property:
attribute location:
public record QuoteResponse([property: JsonPropertyName("quotes")] IReadOnlyCollection? Quotes);