Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Trailing 0 in Orders API

Trailing 0 in Orders API

connerludlow
New Member
4 0 0

Hello,

 

I'm running into an issue with the orders API where when I try to place an order with a price that has a trailing 0 (15.00, 1.50, etc), I am getting an error because javascript is removing the trailing 0 and it seems like the API won't accept the request unless that trailing 0 is in there.

 

Has anyone else seen this? Is there some sort of Shopify handler or helper method I need to be using to make this possible? 

 

Any help would be appreciated. Thanks!

 

-Conner

Replies 0 (0)