question

miket-mavn avatar image
miket-mavn asked miket-mavn commented

Custom modifications (with no referenced modifier ID)

The documentation seems to suggest that I may make custom modifications to line items, as the modifier field of the modification REST API is marked as optional; however, when I try to set a custom modification with a name and price, I receive:

{"message":"Request must contain a modifier object"}

1 comment
10 |2000

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

miket-mavn avatar image miket-mavn commented ·

Bump??????

0 Likes 0 ·

1 Answer

Mike M avatar image
Mike M answered

The modifier you are trying to set needs to exist within our Clover ecosystem as Modifier object. You may retrieve and/or create them programmatically via API: https://www.clover.com/api_docs#!/inv...

Any created Modifier will need to be associated to a ModifierGroup, which you can also access via API: https://www.clover.com/api_docs#!/inv...

For more information on Modifiers vs ModifierGroups, please see: https://help.clover.com/add-edit-dele...

10 |2000

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