Routes
Routes: { accessScopes: any; customer: any; customerAccountActivationUrl: any; customerAddress: any; customerAddresses: any; customerCount: any; customerOrders: any; customerSavedSearch: any; customerSavedSearchCustomers: any; customerSavedSearches: any; customerSavedSearchesCount: any; customerSearch: any; customerSendInvite: any; customers: any; customizeRecurringApplicationCharge: any; metafield: any; metafieldCount: any; metafields: any; productImageMetafields: any; recurringApplicationCharge: any; recurringApplicationCharges: any; report: any; reports: any; setCustomerAddresses: any; setDefaultCustomerAddress: any; storefrontAccessToken: any; storefrontAccessTokens: any; usageCharge: any; usageCharges: any } = ...
Type declaration
accessScopes:function
- accessScopes(): "/admin/oauth/access_scopes.json"
Returns "/admin/oauth/access_scopes.json"
customer:function
- customer(customerId: number): `/admin/api/2020-04/customers/${number}.json`
Parameters
Returns `/admin/api/2020-04/customers/${number}.json`
customerAccountActivationUrl:function
- customerAccountActivationUrl(customerId: number): `/admin/api/2020-04/customers/${number}/account_activation_url.json`
Parameters
Returns `/admin/api/2020-04/customers/${number}/account_activation_url.json`
customerAddress:function
- customerAddress(customerId: number, addressId: number): `/admin/api/2020-04/customers/${number}/addresses/${number}.json`
Parameters
customerId: number
addressId: number
Returns `/admin/api/2020-04/customers/${number}/addresses/${number}.json`
customerAddresses:function
- customerAddresses(customerId: number): `/admin/api/2020-04/customers/${number}/addresses.json`
Parameters
Returns `/admin/api/2020-04/customers/${number}/addresses.json`
customerCount:function
- customerCount(): "/admin/api/2020-04/customers/count.json"
Returns "/admin/api/2020-04/customers/count.json"
customerOrders:function
- customerOrders(customerId: number): `/admin/api/2020-04/customers/${number}/orders.json`
Parameters
Returns `/admin/api/2020-04/customers/${number}/orders.json`
customerSavedSearch:function
- customerSavedSearch(customerSavedSearchId: number): `/admin/api/2020-04/customer_saved_searches/${number}.json`
Parameters
customerSavedSearchId: number
Returns `/admin/api/2020-04/customer_saved_searches/${number}.json`
customerSavedSearchCustomers:function
- customerSavedSearchCustomers(customerSavedSearchId: number): `/admin/api/2020-04/customer_saved_searches/${number}/customers.json`
Parameters
customerSavedSearchId: number
Returns `/admin/api/2020-04/customer_saved_searches/${number}/customers.json`
customerSavedSearches:function
- customerSavedSearches(): "/admin/api/2020-04/customer_saved_searches.json"
Returns "/admin/api/2020-04/customer_saved_searches.json"
customerSavedSearchesCount:function
- customerSavedSearchesCount(): "/admin/api/2020-04/customer_saved_searches/count.json"
Returns "/admin/api/2020-04/customer_saved_searches/count.json"
customerSearch:function
- customerSearch(): "/admin/api/2020-04/customers/search.json"
Returns "/admin/api/2020-04/customers/search.json"
customerSendInvite:function
- customerSendInvite(customerId: number): `/admin/api/2020-04/customers/${number}/send_invite.json`
Parameters
Returns `/admin/api/2020-04/customers/${number}/send_invite.json`
customers:function
- customers(): "/admin/api/2020-04/customers.json"
Returns "/admin/api/2020-04/customers.json"
customizeRecurringApplicationCharge:function
- customizeRecurringApplicationCharge(recurringApplicationChargeId: number): `/recurring_application_charges/${number}/customize.json`
Parameters
recurringApplicationChargeId: number
Returns `/recurring_application_charges/${number}/customize.json`
metafield:function
- metafield(metafieldId: number): `/admin/api/2020-04/metafields/${number}.json`
Parameters
Returns `/admin/api/2020-04/metafields/${number}.json`
metafieldCount:function
- metafieldCount(): "/admin/api/2020-04/metafields/count.json"
Returns "/admin/api/2020-04/metafields/count.json"
metafields:function
- metafields(): "/admin/api/2020-04/metafields.json"
Returns "/admin/api/2020-04/metafields.json"
productImageMetafields:function
- productImageMetafields(ownerId: number, ownerResource: string): `/admin/api/2020-04/metafields.json?metafield[owner_id]=${number}&metafield[owner.resource]=${string}`
Parameters
ownerId: number
ownerResource: string
Returns `/admin/api/2020-04/metafields.json?metafield[owner_id]=${number}&metafield[owner.resource]=${string}`
recurringApplicationCharge:function
- recurringApplicationCharge(recurringApplicationChargeId: number): `/recurring_application_charges/${number}.json`
Parameters
recurringApplicationChargeId: number
Returns `/recurring_application_charges/${number}.json`
recurringApplicationCharges:function
- recurringApplicationCharges(): "/recurring_application_charges.json"
Returns "/recurring_application_charges.json"
report:function
- report(reportId: number): `/reports/${number}.json`
Parameters
Returns `/reports/${number}.json`
reports:function
- reports(): "/reports.json"
setCustomerAddresses:function
- setCustomerAddresses(customerId: number): `/admin/api/2020-04/customers/${number}/addresses/set.json`
Parameters
Returns `/admin/api/2020-04/customers/${number}/addresses/set.json`
setDefaultCustomerAddress:function
- setDefaultCustomerAddress(customerId: number, addressId: number): `/admin/api/2020-04/customers/${number}/addresses/${number}/default.json`
Parameters
customerId: number
addressId: number
Returns `/admin/api/2020-04/customers/${number}/addresses/${number}/default.json`
storefrontAccessToken:function
- storefrontAccessToken(storefrontAccessTokenId: number): `/storefront_access_tokens/${number}.json`
Parameters
storefrontAccessTokenId: number
Returns `/storefront_access_tokens/${number}.json`
storefrontAccessTokens:function
- storefrontAccessTokens(): "/storefront_access_tokens.json"
Returns "/storefront_access_tokens.json"
usageCharge:function
- usageCharge(recurringApplicationChargeId: number, usageChargeId: number): `/recurring_application_charges/${number}/usage_charges/${number}.json`
Parameters
recurringApplicationChargeId: number
usageChargeId: number
Returns `/recurring_application_charges/${number}/usage_charges/${number}.json`
usageCharges:function
- usageCharges(recurringApplicationChargeId: number): `/recurring_application_charges/${number}/usage_charges.json`
Parameters
recurringApplicationChargeId: number
Returns `/recurring_application_charges/${number}/usage_charges.json`
https://shopify.dev/api/admin-rest/2021-10/resources/customcollection#top