Retrieve Store Credit Account

GET/store/:storeCode/store-credit-accounts/:id
publishable keyJWT

Retrieve a store credit account by ID.

Path Parameters
storeCoderequiredstring

Store slug in the URL (first argument to every SDK store method).

idrequiredstring

The store credit account's ID.

Query Parameters
fieldsstring

Comma-separated fields to include. Prefix with `*` to expand a relation (e.g. `id,*variants`).

Response

Status

200OK

Schema

Copy
HttpTypes.StoreStoreCreditAccountResponse

Properties

store_credit_accountrequiredStoreStoreCreditAccount

The store credit account.