-
-
Save shopifypartners/ed7577d33ca2f4382bb2d47b15e6df60 to your computer and use it in GitHub Desktop.
Using the Shopify API to credit merchants for app charges examples - https://www.shopify.com/partners/blog/using-the-shopify-api-to-credit-merchants-for-app-charges
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /admin/application_credits.json HTTP/1.1 | |
Host: merchantshop.myshopify.com | |
Content-Type: application/json | |
X-Shopify-Access-Token: 35ee86casd97e9b8b10089afa4ccb654 | |
{ | |
"application_credit": { | |
"description": "Sorry you paid twice by mistake! Here is a $5 credit.", | |
"amount": 5.0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment