AccessScope resources are used by merchants to authorize apps.
Each permission point is associated with a series of Open APIs. Through these Open APIs, apps can access or edit store data.
This document lists the currently available AccessScope permission points on the platform and their associated interfaces.
You should determine which permissions to apply from the merchant when installing or updating the app based on your actual needs.
For example, if an app needs to query the merchant’s order information during use, it needs to request the read_orders permission from the merchant during installation.
After merchant authorization, SHOPLINE will return an access token containing AccessScope information. When the app makes a request with the access token, only interfaces that meet the scope of the AccessScope can be successfully returned.
AccessScope
It should be noted that certain AccessScopes require the activation of specific business functions before they can be used. Requesting access to these scopes before activating the corresponding business functions may result in the following error: 'the app has no qualification'. AccessScopes requiring the activation of specific business functions include:
write_payment_gateways: Requires activation of payment app business.read_subscription_contracts&write_subscription_contracts: Requires activation of subscription e-commerce business.
read_shop_policy
Permission point description: Access shop policies
Related interface: Query policy page information
Apply to private application: true
read_selling_plan_group
Permission point description: Access selling plan group
Related interface: Query sales program group details、Query multiple selling programs、Get the sales plan group total number
Apply to private application: false
write_gift_card
Permission point description: Modify gift card codes and related messages
Related interface: Disable gift card、Create gift cards、Update gift card
Apply to private application: true
read_marketing_event
Permission point description: Access and create marketing event
Related interface: Query individual marketing events、Query number of marketing events、Query marketing events list
Apply to private application: true
write_page
Permission point description: Modify page and custom messaging
Related interface: Delete a custom page、Create a custom page、Update a custom page
Apply to private application: true
read_shipping
Permission point description: Access shipping information and local tax rates
Related interface: Query inventory address、Query all pickup information、Query all local shipping information、Query country number of tax already configured in stores、Query specify tax information from the country、Query all tax information in the store、Query quantity of all state provinces in a country、Query specify all state province information under the country、Query state province information、Receive a list of all CarrierServices、Receive a single CarrierService
Apply to private application: true
read_themes
Permission point description: Access themes, theme templates, and assets
Related interface: Get all files for a theme、Get details for a theme file
Apply to private application: true
write_translation
Permission point description: Modify translated content
Related interface: translationsRegister
Apply to private application: true
write_assigned_fulfillment_orders
Permission point description: Manage assigned fulfillment orders
Related interface: Set up a fulfillment order deadline、Update inventory location for fulfillment order、Re-book the date of the sale、Fulfillment order release onhold status、Performance appointment marker onhold、Update tracking information、Create an fulfillment for the fulfillment order ( single or batch )、Cancel fulfillment、Fulfillment app rejects shipment cancellation request、Fulfillment app accepts cancellation request for shipment、Fulfillment app rejects shipment request、Fulfillment app accepts request to ship、Ship according to fulfillment order request、Delete fulfillment delivery logistics event、Create fulfillment shipping logistics event
Apply to private application: true
read_payment
Permission point description: Access payment and account balances
Related interface: Get account balance、Get payouts、Get billing records、Payout
Apply to private application: true
write_marketing_event
Permission point description: Edit marketing events
Related interface: Process Statistics Synchronization、Create marketing events、Update marketing events、Delete marketing events、Create marketing expansion、Update marketing expansion、Create campaign summary data、Mass sync marketing event statistics
Apply to private application: true
write_product_sizechart
Permission point description: Write product sizechart
Related interface: Batch delete sizechart、Create a size chart、Update a size chart
Apply to private application: true
read_fulfillment_service
Permission point description: Contact relevant staff of the fulfillment service provider
Related interface: Fulfillment service details、Fulfillment service list
Apply to private application: true
write_store_information
Permission point description: Modify store information and langauge
Related interface: Add store languages
Apply to private application: true
read_publications
Permission point description: Query a set of products published in the APP
Related interface: publications
Apply to private application: true
write_product_listings
Permission point description: Manage product lists
Related interface: Remove collection from sales channels、Query sales channels specify collection Product id、Remove from sales channels Product、Add Product to sales channels、Add collection to sales channels
Apply to private application: true
write_markets
Permission point description: Modify market information
Related interface: Market currency update
Apply to private application: true
write_payment_gateways
Permission point description: Modify payment gateways
Related interface: Refund successful notification、Payment successful notice、Merchant activation successful notification、Device binding success notification
Apply to private application: false
read_script_tags
Permission point description: Access the JavaScript code in storefront or orders status pages
Related interface: Query script tag list、Query a single script tag、Query the number of script tags
Apply to private application: true
write_inventory
Permission point description: Modify inventory and related messages across multiple locations
Related interface: Update item inventory、Set item inventory、Link an inventory item to a location、Disconnect an inventory item from a location、Update an inventory item
Apply to private application: true
read_location
Permission point description: Access locations and logistical setups
Related interface: Based on id query location、Get locations、Statistics number of locations
Apply to private application: true
write_bulkoperation
Permission point description: Manage bulkoperation
Related interface: Create a change-type bulk task(To be deprecated)、Create a bulk query task、Create a bulk mutation task、Cancel a bulk task
Apply to private application: true
write_subscription_contracts
Permission point description: Modify subscription contracts and payment methods
Related interface: Skip the next bill、Create your order as soon as your subscription contract is created、Revise next bill time、Cancel subscription contract、Edit subscription contract information
Apply to private application: false
write_themes
Permission point description: Modify themes, theme templates, and assets
Related interface: Create or update a theme file