question

yilipiao avatar image
yilipiao asked ·

Referenced order type does not exist

When I try to create an order from sandbox, it gives me this message:

{"message":

"Referenced order type does not exist"

}

OrdersREST API
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 ·

That is a pretty descriptive error. Does the order type you are referencing exist?

3 comments
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.

I am making order through sandbox API, I am not sure where I missed

0 Likes 0 ·

where can i create an order type?

0 Likes 0 ·

Via the merchant dashboard (setup -> order types) or API (https://docs.clover.com/reference#merchantcreateordertype).

0 Likes 0 ·

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