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

note

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_fulfillment_service & write_fulfillment_service: Requires activation of fulfillment app business.
  • read_subscription_contracts & write_subscription_contracts: Requires activation of subscription e-commerce business."

write_selling_plan_group

Permission point description: Modify selling plan group
Related interface: Add Product to sales plan groupTie-downs from the sales plan group ProductDelete sales plan groupCreate a sales plan groupUpdate sales plan group
Apply to private application: false

write_subscription_contracts

Permission point description: Modify subscription contracts and payment methods
Related interface: Skip the next billCreate your order as soon as your subscription contract is createdRevise next bill timeCancel subscription contractEdit subscription contract information
Apply to private application: false

write_files

Permission point description: Modify store information and manage multimedia resources
Related interface: Create FileUpdate FilesDelete Files
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 listQuery a single script tagQuery the number of script tags
Apply to private application: true

write_orders

Permission point description: Modify orders, transactions, fulfillments, and abandoned checkouts
Related interface: Update tracking numberUpdate payment slipQuery payment settingsDelete all risk fraud related to the orderAdd risk fraudRemove the specify of the order risk fraudUpdate order risk fraudOrder refund trialCreate an orderCancel orderUpdate orderOrder refundCreate payment slipOrder shippedCancel shipping
Apply to private application: true

write_script_tags

Permission point description: Modify JavaScript codes in storefront or orders status pages
Related interface: Create a script tagUpdate script tagDelete script tag
Apply to private application: true

read_gift_card

Permission point description: Access gift cards and coupon codes
Related interface: Query single gift cardQuery number of gift cardsPaging query gift card
Apply to private application: true

read_content

Permission point description: Access articles, blogs, and comments, and redirect traffic
Related interface: Query blog collection listQuery blog post listQuery list of all articles authorsQuery blog post detailsQuery blog postQuery blog collection quantityQuery single blog collectionGet theme list in bulkQuery one themeBy reviewing id query commentsNumber of get the commentsQuery list of comments
Apply to private application: true

read_subscription_contracts

Permission point description: Access subscription contracts and payment tools
Related interface: Query subscription contract detailsQuery subscription contract list
Apply to private application: false

write_shop_policy

Permission point description: Modify shop policy
Related interface: Update a store policy page
Apply to private application: true

write_bulkoperation

Permission point description: Manage bulkoperation
Related interface: Bulk operation mutation(Deprecated)Bulk operation queryBatch mission update ( generic )Bulk mission cancellation
Apply to private application: true

read_price_rules

Permission point description: Access pricing and allocations
Related interface: Retrieve all price rules countsRetrieve individual price rules
Apply to private application: true

read_markets

Permission point description: Access market information
Related interface: Query market listReturns a market resource by ID
Apply to private application: true

write_customers

Permission point description: Modify customer information, customer addresses, order history, and customer groups
Related interface: Create customer groupingUpdate customer groupingDelete customer groupingDelete customer informationSend activation mailActivate the customerBatch addressAdd address 2.0Update address 2.0Set default address 2.0Delete customer address 2.0Delete specify customer tagCreate a customerUpdate customer information
Apply to private application: true

read_products

Permission point description: Access products, variants, and collections
Related interface: Batch query product quantityQuery all SKUs quantity of single productQuery manual collection attributes by IDBatch query manual collection quantityBatch query intelligent collection quantityBatch query manual collectionSingle query collection relationshipBatch query collection relationshipBatch query collection relationship quantityList of resources feedbackBulk query productsQuery single productQuery all SKUs of single productQuery SKU by IDQuery single Product imageBatch query Product imagesQuery main image total number for single ProductQuery product information in a certain collectionQuery collection information by IDQuery intelligent collection attributes by IDBatch query intelligent collection
Apply to private application: true

read_shipping

Permission point description: Access shipping information and local tax rates
Related interface: Query inventory addressQuery all pickup informationQuery all local shipping informationQuery country number of tax already configured in storesQuery specify tax information from the countryQuery all tax information in the storeQuery quantity of all state provinces in a countryQuery specify all state province information under the countryQuery state province informationReceive a list of all CarrierServicesReceive a single CarrierService
Apply to private application: true

read_discounts

Permission point description: Manage automatic discounts and discount codes
Related interface: Query automatic discount activityQuery discount codeQuery DiscountCode by IDQuery DiscountCode by CodeQuery DiscountCode by discount rules IDQuery store's total number of DiscountCodeBased on mission id query promo code informationQuery bulk created discount code listRetrieve price rules list
Apply to private application: true

write_markets

Permission point description: Modify market information
Related interface: Market currency update
Apply to private application: true

read_selling_plan_group

Permission point description: Access selling plan group
Related interface: Query sales program group detailsQuery multiple selling programsGet 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 queryQuery draft order
Apply to private application: true

write_discounts

Permission point description: Modify automatic discounts and discount codes
Related interface: Create DiscountCodeDelete DiscountCodeUpdate DiscountCodeCreate promo code created tasksCreate PriceRule
Apply to private application: true

read_themes

Permission point description: Access themes, theme templates, and assets
Related interface: Query theme asset listQuery theme asset details
Apply to private application: true

write_store_information

Permission point description: Modify store information and langauge
Related interface: Add store language settings
Apply to private application: true

read_store_metrics

Permission point description: Access store metrics, transactions, customer behavior
Related interface: Query the effective plan of the store
Apply to private application: true

write_price_rules

Permission point description: Modify conditional discounts
Related interface: Delete existing price ruleUpdate existing price rule
Apply to private application: true

read_assigned_fulfillment_orders

Permission point description: Access assigned fulfillment orders and logistics tracking
Related interface: Get specify fulfillment orderQuery number of fulfillmentGet all of the order-placed fulfillment orderGet all fulfillments for the fulfillment orderQuery all fulfillments for an orderGet specify fulfillment under fulfillment order
Apply to private application: true

read_payment

Permission point description: Access payment and account balances
Related interface: BalancePayoutsBalance transactionsPayout
Apply to private application: true

read_marketing_event

Permission point description: Access and create marketing event
Related interface: Query individual marketing eventsQuery number of marketing eventsQuery marketing events list
Apply to private application: true

read_translation

Permission point description: Access translation
Related interface: Get store language settingsQuery store translation data in bulkQuery UGC corpuses
Apply to private application: true

write_content

Permission point description: Modify articles, blogs, and comments, redirect traffic
Related interface: Delete blog postUpdate blog postUpdate blog collectionDelete blog collectionUpdate themeDelete themeCreate a redirectGet a list of redirectQuery single redirect detailsStatistical redirect quantityUpdate redirectRemove a redirectCreate a commentUpdate commentsApprove the commentLabeled comments as non spamLabeled comments as spamDelete a commentComment for recovery deleteCreate blog articles for the collectionCreate a blog collection
Apply to private application: true

read_returns

Permission point description: Access returns and return orders
Related interface: Query returnsQuery Return Fulfillment OrderQuery Return Fulfillment
Apply to private application: true

read_files

Permission point description: Manage store information and manage multimedia resources
Related interface: View individual filesBatch query files
Apply to private application: true

write_gift_card

Permission point description: Modify gift card codes and related messages
Related interface: Create gift cardsUpdate gift cardDisable gift card
Apply to private application: true

read_store_information

Permission point description: Access account langauge and store information
Related interface: Query store informationQuery store payment channels
Apply to private application: true

read_orders

Permission point description: Access orders, transactions, fulfillments, and abandoned checkouts
Related interface: Query abandoned orderQuery store settlement currencyQuery order risk fraud listQuery risk fraud for order specifyQuery all refund orders for the id associationQuery order specify of your money back orderRetrieves a count of checkoutsOrder quantity queryRetrieves a list of transactionsQuery orders
Apply to private application: true

read_shop_policy

Permission point description: Access shop policies
Related interface: Query policy page information
Apply to private application: true

write_marketing_event

Permission point description: Edit marketing events
Related interface: Process Statistics SynchronizationCreate marketing eventsMass sync marketing event statisticsUpdate marketing eventsDelete marketing eventsCreate marketing expansionUpdate marketing expansion
Apply to private application: true

read_page

Permission point description: Access page
Related interface: Query page's detail informationGet a custom page listCount the number of custom pages
Apply to private application: true

write_return

Permission point description: Modify returns and return fulfillments
Related interface: Close ReturnCreate a ReturnCreate a Return FulfillmentUpdate logistics information for a Return Fulfillment
Apply to private application: true

write_translation

Permission point description: Modify translated content
Related interface: Delete store languageDelete corpuses based on resource IDs and fieldUpdate UGC corpuses
Apply to private application: true

write_products

Permission point description: Modify products, variants, and collections
Related interface: Create manual collectionUpdate manual collectionDelete manual collectionDelete intelligent collectionDelete productCreate binding relationshipDelete binding relationshipDelete SKUResources feedbackUpdate productCreate productCreate SKUUpdate SKU by IDUpdate Product imagesDelete Product imagesCreate Product imagesCreate smart collectionUpdate smart collection
Apply to private application: true

read_location

Permission point description: Access locations and logistical setups
Related interface: Based on id query locationQuery location listStatistics number of locations
Apply to private application: true

write_shipping

Permission point description: Modify shipping service provider settings and local tax fees
Related interface: Create a new CarrierServiceModify an existing CarrierServiceRemove an existing CarrierServiceBatch shipping plan
Apply to private application: true

read_bulkoperation

Permission point description: Access bulk operations and status
Related interface: Query active tasks in current stores
Apply to private application: true

write_product_listings

Permission point description: Manage product lists
Related interface: Remove collection from sales channelsQuery sales channels specify collection Product idRemove from sales channels ProductAdd Product to sales channelsAdd collection to sales channels
Apply to private application: true

read_inventory

Permission point description: Access inventory across multiple locations
Related interface: Batch query inventory statusGet a single inventory objectBatch query inventory object
Apply to private application: true

write_draft_orders

Permission point description: Modify orders created by merchants on behalf of customers
Related interface: Send invoice linkDelete draft orderComplete draft orderCreate draft orderEdit draft order
Apply to private application: true

read_pos

Permission point description: Access POS
Related interface: Query store list
Apply to private application: false

write_page

Permission point description: Modify page and custom messaging
Related interface: Delete custom pagesAdd custom pagesUpdate custom page
Apply to private application: true

write_inventory

Permission point description: Modify inventory and related messages across multiple locations
Related interface: Update inventory statusSet inventory statusConnect stock statusDisconnect stock statusUpdate inventory object
Apply to private application: true

read_product_listings

Permission point description: Access product entries
Related interface: Query Product id for sales channelsQuery Product total number for sales channelsQuery Product of sales channelsQuery specify Product for sales channelsQuery collection of sales channelsQuery specify collection in sales channels
Apply to private application: true

write_themes

Permission point description: Modify themes, theme templates, and assets
Related interface: Create / modify theme assetDelete theme assetCreate theme
Apply to private application: true

write_assigned_fulfillment_orders

Permission point description: Manage assigned fulfillment orders
Related interface: Set up a fulfillment order deadlineUpdate inventory location for fulfillment orderRe-book the date of the saleFulfillment order release onhold statusPerformance appointment marker onholdUpdate fulfillment tracking informationCreate an fulfillment for the fulfillment order ( single or batch )Cancel fulfillment
Apply to private application: true

write_payment_gateways

Permission point description: Modify payment gateways
Related interface: Refund successful notificationPayment successful noticeMerchant activation successful notification
Apply to private application: false

read_customers

Permission point description: Manage customers, customer addresses, order history, and customer groups
Related interface: Specify customer grouping queryGet customer grouping in bulkCustomer number queryQuery all customers in groupsBatch query user subscription informationQuery store groupingQuery specify customer orderCustomer listCustomer detailsQuery customer address details 2.0Batch query customer address 2.0Check customer information via emailCustomer information list queryQuery customer detailsCustomer information retrieval
Apply to private application: true

Unanthenticated AccessScope

unauthenticated_read_checkouts_info

Permission point description: Access product sales and checkout info via Storefront
Related interface: checkout
Apply to private application: true

unauthenticated_write_checkouts_info

Permission point description: Update checkout info via Storefront
Related interface: checkoutShippingAddressUpdate
Apply to private application: true

unauthenticated_write_customer_information

Permission point description: Modify customer information and address via Storefront
Related interface: customerAccessTokenCreate
Apply to private application: true

Was this article helpful to you?

Error loading component.

Error loading component.