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_translation
Permission point description: Modify translated content
Related interface: translationsRegister
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
read_products
Permission point description: Access products, variants, and collections
Related interface: Get the total count of product variants 、Get manual collection attributes 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 product variants、Get a product variant 、Get the count of images for a product、Get products in a collection、Get collection information by ID、Get smart collection attributes by ID、Get intelligent collections 、Get market prices of the product variant、Get the market price range of the product、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、Get all store taxonomy collection nodes
Apply to private application: true
read_gift_card
Permission point description: Access gift cards and coupon codes
Related interface: Query single gift card、Query number of gift cards、Get gift card operation records
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
write_selling_plan_group
Permission point description: Modify selling plan group
Related interface: Add products to a sales plan group、Remove products from a sales plan group、Delete a sales plan group、Create a sales plan group、Update sales plan group
Apply to private application: false
write_orders
Permission point description: Modify orders, transactions, fulfillments, and abandoned checkouts
Related interface: Update payment slip、Query payment settings、Delete all risk fraud related to the order、Add risk fraud、Remove the specify of the order risk fraud、Update order risk fraud、Order refund trial、Order refund、Create payment slip、Cancel shipping、Order archive、Cancel order archive、Start editing、Set item quantity、Add a custom product、Submit edit results、Add items in order、Add product discount、Delete product discount、Delete an order、Archive and unarchive abandoned checkouts、Update tracking number
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_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 blog articles for the collection、Update blog post、Create a redirect
Apply to private application: true
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
write_price_rules
Permission point description: Modify conditional discounts
Related interface: Delete existing price rule、Update the price rule of a code discount
Apply to private application: true
write_script_tags
Permission point description: Modify JavaScript codes in storefront or orders status pages
Related interface: scriptTagCreate
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、Add collection to sales channels
Apply to private application: true
read_orders
Permission point description: Access orders, transactions, fulfillments, and abandoned checkouts
Related interface: Query store settlement currency、Get fraud risks for an order、Query risk fraud for order specify、Retrieves a count of checkouts、Get an order count、Get order payment、Query order specify of your money back order
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_themes
Permission point description: Modify themes, theme templates, and assets
Related interface: Create or update a theme file、Delete theme asset、Create theme、Batch create/modify asset content
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、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、Create an fulfillment for the fulfillment order ( single or batch )、Update tracking information
Apply to private application: true
write_fulfillment_service
Permission point description: Edit fulfillment service information
Related interface: Create fulfillment location、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_content
Permission point description: Access articles, blogs, and comments, and redirect traffic
Related interface: Query blog collection list、Query list of all articles authors、Query blog post、Query blog collection quantity、Query single blog collection、Get all themes、Get a single theme、By reviewing id query comments、Number of get the comments、Query list of comments、Query blog post details、Query blog post list
Apply to private application: true
read_translation
Permission point description: Access translation
Related interface: translatableResources
Apply to private application: true
read_price_rules
Permission point description: Access pricing and allocations
Related interface: Retrieve all price rules counts、Get a price rule of a code discount
Apply to private application: true
read_product_sizechart
Permission point description: Read Product Sizechart
Related interface: Query product size data in batch
Apply to private application: true
write_product_variant_images
Permission point description: Write Variant Images
Related interface: batch update variant images
Apply to private application: true
write_checkouts
Permission point description: Manage checkouts
Related interface: Query tax channel、Update tax channel、Delete tax channel
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
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_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
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
read_product_listings
Permission point description: Access product entries
Related interface: Query Product id for sales channels、Get the product count for your sales channel