question

James Tickett avatar image
James Tickett asked ·

Is it possible to request one additional field in API requests?

In this case we're after the "Note" field which is not always present. It seems if there is text then it's returned, otherwise it's an absent field.

If we use: [ENVIRONMENT]/[MID]/orders?returnnullfields=true then it guarantees it will be returned, but with many other fields we don't want.

I realise it's not a huge issue to handle the nulls here, but I thought I'd check just in case there is a simple API parameter I've overlooked!

Thanks

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Mark Mullan avatar image
Mark Mullan answered ·

Not that I'm aware of. The logic for inclusion/presence of one specific field should be on your end. Thanks!

Share
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community