question

danieljimenez avatar image
danieljimenez asked David Marginian answered

Discount on whole order, rest api v3

Hi, I was wondering how i can create a discount on an order through the rest api, like a "$2" off discount on the spot. In the docs, theres a space that says "Create a discount on an order or line item", but when i dont enter a line item, it gives me an error.

OrdersDiscounts
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

· Write an Answer
David Marginian avatar image
David Marginian answered
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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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