My app is using REST PriceRule API to create multiple discount codes.
For example: create a discount code free shipping for 3 countries
Endpoint: https://{{my_shopify_domain}}/admin/api/2024-07/price_rules.json
Body:
But REST Country API is deprecated as of version 2024-07, so any another way to I can get country id ?
