Gift Card API Endpoint Issue

came-2-earth
Visitor
1 0 0

Hi!

 

Recently, I tried to fetch the Gift Card API from the endpoint -  '/admin/api/2021-10/gift_cards.json'. It was working well before but now it returns just an error saying {"errors": "Not Found"}. 

 

Then to confirm I checked the scopes available for the specific shop and yes the shop has access to the read_gift_card scope but the end point return was not found.

 

 

Output response of scope available for the shop:

 

{"access_scopes":[{"handle":"read_orders"},{"handle":"read_products"},{"handle":"read_content"},{"handle":"read_customers"},{"handle":"read_fulfillments"},{"handle":"read_shipping"},{"handle":"read_draft_orders"},{"handle":"read_checkouts"},{"handle":"read_reports"},{"handle":"read_price_rules"},{"handle":"read_inventory"},{"handle":"read_locations"},{"handle":"read_shopify_payments_payouts"},{"handle":"read_all_orders"},{"handle":"read_assigned_fulfillment_orders"},{"handle":"read_merchant_managed_fulfillment_orders"},{"handle":"read_gift_cards"}]}

 

May I know if I am doing anything wrong? If there is an alternate way to get this data then please let me know. 

 

Regards, 

Debora

 

 

 

 

Replies 0 (0)