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.
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_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
read_assigned_fulfillment_orders
Permission point description: Access assigned fulfillment orders and logistics tracking
Related interface: Get specify fulfillment order、Query number of fulfillment、Get all fulfillments for the fulfillment order、Get specify fulfillment under fulfillment order、Fulfillment app requests shipment cancellation、Fulfillment order list query、Query fulfillment and delivery logistics events
Apply to private application: true
write_fulfillment_service
Permission point description: Edit fulfillment service information
Related interface: Create fulfillment service、Modify fulfillment service、Delete fulfillment service
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
read_draft_orders
Permission point description: Manage the orders that merchants created for customers
Related interface: Draft order quantity query
Apply to private application: true
read_markets
Permission point description: Access market information
Related interface: Returns a market resource by ID、Query market list
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_shop_policy
Permission point description: Modify shop policy
Related interface: Update a store policy page
Apply to private application: true
read_inventory
Permission point description: Access inventory across multiple locations
Related interface: Get inventory quantities
Apply to private application: true
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
read_price_rules
Permission point description: Access pricing and allocations
Related interface: Retrieve all price rules counts
Apply to private application: true
read_subscription_contracts
Permission point description: Access subscription contracts and payment tools
Related interface: Query subscription contract details、Query subscription contract list
Apply to private application: false
read_page
Permission point description: Access page
Related interface: Count the number of custom pages、Get custom pages
Apply to private application: true
write_products
Permission point description: Modify products, variants, and collections
Related interface: Delete a manual collection 、Delete a smart collection、Delete a product、Create a product collection relationship、Delete a product collection relationship、Resources feedback、Create a variant、Update a variant、Delete a product image、Update product sorting in the smart collection、Create a company location catalog、Update a company location catalog、Delete catalog、Separate pricing for catalog variants、Add catalog products、Remove catalog products、Add products to a market、Remove products from a market、Remove company locations、Create a taxonomy collection node、Delete a taxonomy collection node、Update a taxonomy collection node
Apply to private application: true
write_content
Permission point description: Modify articles, blogs, and comments, redirect traffic
Related interface: Delete blog post、Update blog collection.、Delete blog collection、Update theme、Delete theme、Get a list of redirect、Statistical redirect quantity、Update redirect、Remove a redirect、Create a comment、Update comments、Approve the comment、Labeled comments as non spam、Labeled comments as spam、Delete a comment、Comment for recovery delete、Create a blog collection、Create a redirect .
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
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
read_bulkoperation
Permission point description: Access bulk operations and status
Related interface: Get a valid bulk task
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_store_information
Permission point description: Access account langauge and store information
Related interface: Query store payment channels、Query store information
Apply to private application: true
read_customers
Permission point description: Manage customers, customer addresses, order history, and customer groups
Related interface: companyCredit
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_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
Apply to private application: true
write_shipping
Permission point description: Modify shipping service provider settings and local tax fees
Related interface: Create a new CarrierService、Modify an existing CarrierService、Remove an existing CarrierService、Batch shipping plan、Batch shipping plan V2
Apply to private application: true
write_inventory
Permission point description: Modify inventory and related messages across multiple locations
Related interface: Adjust the inventory quantity、Set the inventory quantity、Disconnect an inventory item from a location
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
read_payment
Permission point description: Access payment and account balances
Related interface: Payout
Apply to private application: true
read_product_listings
Permission point description: Access product entries
Related interface: Get a list of product IDs on a sales channel、Get the product count for your sales channel、Retrieve a list of company location catalogs、Get catalog products
Apply to private application: true
write_draft_orders
Permission point description: Modify orders created by merchants on behalf of customers
Related interface: Send a draft order invoice email、Delete draft order
Apply to private application: true
write_customers
Permission point description: Modify customer information, customer addresses, order history, and customer groups
Related interface: companyLocationAssignAddress
Apply to private application: true
read_store_log
Permission point description: Query store log information
Related interface: Get store operation log count
Apply to private application: true
write_publications
Permission point description: Manage a set of products published by the app.
Related interface: publishablePublishToCurrentChannel
Apply to private application: true
write_payment_gateways
Permission point description: Modify payment gateways
Related interface: Refund successful notification、Merchant activation successful notification、Device binding success notification、Payment successful notice
Apply to private application: false
write_price_rules
Permission point description: Modify conditional discounts
Related interface: Delete existing price rule
Apply to private application: true
read_products
Permission point description: Access products, variants, and collections
Related interface: Get the total count of product variants 、Get a manual collection by ID、Get the count of manual collections、Get the count of intelligent collections、Get manual collections、Get a product collection relationship、Get product collection relationships、Get the count of product collection relationships、List of resources feedback、Get the count of images for a product、Get products in a collection、Get smart collections、Get product variant prices across markets、Get product price ranges across markets、Get product publication status in markets、Retrieve a company location catalog、Specify variant for pricing rules、Get catalog locations、Get the list of published products in the market、Add company locations、Get catalog locations (recommended)、Get child taxonomy collection nodes、Get a taxonomy collection node