Hello there!
I am trying to do a rest api query on a collection using a nested object attribute
/api/tickets?where[order.orderId][equeals]=1363580640437-01
Tickets has this structure
fields: [
{
name: 'order',
label: 'Order',
type: 'relationship',
relationTo: 'orders',
required: true,
unique: true,
}
],
And orders:
fields: [
{
name: 'orderId',
type: 'text',
required: true,
label: 'ID de Pedido',
}
]
Please just bump your thread in the future. Duplicate of
https://discord.com/channels/967097582721572934/1156568941506854952Star
Discord
online
Get help straight from the Payload team with an Enterprise License.