Shopify Api Create Gift Cards

LukasBouhlel
Tourist
5 0 4

Hello everyone, I would like to know if there is a possibility to create giftcards like on the API Shopify : 
https://shopify.dev/api/admin-graphql/2022-07/mutations/giftCardCreate#examples-Create_a_gift_card_w...
Without having to switch to Shopify plus ?

Replies 3 (3)

UtopiaAgency
Shopify Partner
10 1 6

It works on stores without Shopify Plus. You can even log your own network(Dev tools) when manually creating a gift card and you can just import that code to your code and it'll even work if your store somehow doesn't allow it yet from custom apps etc.

 

If manually grabbing api link it should be the same as their docs

/admin/internal/web/graphql/core?operation=GiftCardCreate&type=mutation

bryka
Shopify Partner
12 0 3

Do you know if this still works? I've attempted and gotten an error message back.

 
"message": "Access denied for giftCardCreate field. Required access: `write_gift_cards` access scope. Also: The API client must be a private or custom app installed on a Shopify Plus or Shopify Plus Partner Sandbox store.",

emilyenchant
Visitor
1 0 0

I'm new to API! Does anyone happen to have step by step instructions on how to process bulk GCs? I know how to set up a regular GC in shopify+, just can't seem to figure out a bulk creation.