tcmleung
Excursionist
Contact Me
Status
Offline
Last Activity
‎05-17-2023 08:27 PM
Topic Started
5
Topics Started
Topic Solutions
2
Solutions
Post Count
15
Posts
Post Kudos
10
Likes

Community Badges

I created a draft order and applied discount with fixed amount successfully. In the draft order, I can see the original price of the item. However, after I completed the draft order, I can only see...
When I create an order without tax_lines, but with a shipping_address (including country code and province_code), there is no tax in the created order. Can the tax be auto-calculated based on the Sh...
No content to show

User Activity

No.We need to use Storefront API to create order if we want to apply discount code. 
I created some draft order on Shopify portal.Then when I use Admin REST API call to complete the draft ordercurl --location --request PUT 'https://xxx.myshopify.com/admin/api/2023-01/draft_orders/{{draft order ID}}/complete.json' , it throws the foll...
Finally I found that we cannot use private app to execute checkoutCompleteWithTokenizedPaymentV3.We have to develop our app on Shopify Partner. And the app must be public. Then you need to request for payment.It is the only way to do so.To workaround...
Thanks for your reply.Yet, my App needs automation for all steps.I found that the only solution is to use Storefront API instead of Admin API to create a checkout and apply discount code.https://shopify.dev/api/storefront/reference/checkouts/checkout...
Hello,My store is a Development Store with a Private App that uses the Storefront GRAPHQL API. Shopify Payments is enabled with Test Mode on.I just want to use credit card(4242424242424242) to test payment according to https://help.shopify.com/en/par...
Finally I found the problem.The URL was incorrect. The storefront API URL does not need /admin/.
I tried to run the following query, but it returns"Field 'checkoutCreate' doesn't exist on type 'Mutation'"Can anyone help?mutation {  checkoutCreate(input: {    lineItems: [{ variantId: "gid://shopify/ProductVariant/37723173093526", quantity: 1 }]  ...
I created an automatic discount (20% off for all products) and it is active.Then I used draft_orders API to create a draft order. However, the automatic discount did not apply to the draft order.Then I completed the draft order, the generated order a...
Just wanted to know if it is possible to apply discount code in Draft Order using Draft Order API. 
This widget could not be displayed.
This widget could not be displayed.