How to retrieve a specific metafield only through API as when data are extracted, we are getting all metafields. Is there a way to extract a specific metafield only through API and ignore other metafield. For example, we want only extract date from metafield Credit Customers (see screenshot below) but we are getting other metafields such as loyaltylion.points_total (see 2nd screenshot):
The API limitation here points at a bigger problem: you’re trying to retrieve credit data cleanly, likely because you need to enforce credit limits downstream. But Shopify won’t block checkout when a customer hits their limit—that’s left to you. TermShield automates it: set limits per customer, and we block checkout before the order processes when they’d exceed it.
Full disclosure: I built TermShield ( TermShield - Block B2B checkout when a company exceeds its credit limit | Shopify App Store ) - it blocks B2B checkout when a customer would exceed the credit limit you set.