question

yilipiao avatar image
yilipiao asked David Marginian Deactivated edited

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

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

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited

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

3 comments
10 |2000

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

yilipiao avatar image yilipiao commented ·

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

0 Likes 0 ·
yilipiao avatar image yilipiao commented ·

where can i create an order type?

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ yilipiao commented ·

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