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."

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

read_customers

Permission point description: Manage customers, customer addresses, order history, and customer groups
Related interface: companyCredit
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 planBatch shipping plan V2
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

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

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 specifyRetrieves a count of checkoutsOrder quantity queryRetrieves a list of transactionsQuery all refund orders for the id associationQuery order specify of your money back orderQuery orders
Apply to private application: true

read_payment

Permission point description: Access payment and account balances
Related interface: BalancePayoutsPayoutBalance transactionsQuery store transaction records
Apply to private application: true

read_markets

Permission point description: Access market information
Related interface: Query marketsReturns a market resource by IDQuery market list
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

write_checkouts

Permission point description: Manage checkouts
Related interface: Query tax channelUpdate tax channelDelete tax channel
Apply to private application: true

read_discounts

Permission point description: Manage automatic discounts and discount codes
Related interface: appDiscountType
Apply to private application: true

write_page

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

read_store_staff

Permission point description: Query staff information based on store(Only for Enterprise store).
Related interface: staffMembers
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

read_content

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

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

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_gift_card

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

read_store_log

Permission point description: Query store log information
Related interface: Operation inquiries based on log IDFull inquiries list of store operation logQuery the total number of store operation logs
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

read_data_report

Permission point description: Report user identity, attributes and events
Related interface: Report buyer identityReport buyer behavior events
Apply to private application: true

read_store_information

Permission point description: Access account langauge and store information
Related interface: Query store payment channelsQuery store information
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

write_store_information

Permission point description: Modify store information and langauge
Related interface: Add store language settings
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_url_route

Permission point description: Write URL routing structure of the online store
Related interface: Update URL routing
Apply to private application: true

read_page

Permission point description: Access page
Related interface: Count the number of custom pagesGet a custom page listQuery page's detail information
Apply to private application: true

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_discounts

Permission point description: Modify automatic discounts and discount codes
Related interface: discountAutomaticDoniUpdate
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_fulfillment_service

Permission point description: Contact relevant staff of the fulfillment service provider
Related interface: Fulfillment service detailsFulfillment service list
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 orderCreate draft orderEdit draft orderComplete 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

write_products

Permission point description: Modify products, variants, and collections
Related interface: Delete manual collectionDelete intelligent collectionDelete productCreate binding relationshipDelete binding relationshipDelete SKUResources feedbackCreate SKUUpdate SKU by IDUpdate Product imagesDelete Product imagesCreate Product imagesUpdate productUpdate Product Sorting in Smart CollectionsCreate manual collectionCreate smart collectionUpdate smart collectionUpdate manual collectionCreate a company location catalogUpdate a company location catalogDelete catalogSeparate pricing for catalog variantsAdd catalog productsRemove catalog productsCreate productAdd products to the marketRemove market productsRemove company locations
Apply to private application: true

write_content

Permission point description: Modify articles, blogs, and comments, redirect traffic
Related interface: Delete blog postUpdate blog collectionDelete blog collectionUpdate themeDelete themeGet 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 a blog collectionCreate blog articles for the collectionUpdate blog postCreate a redirect
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

write_translation

Permission point description: Modify translated content
Related interface: translationsRegister
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

write_fulfillment_service

Permission point description: Edit fulfillment service information
Related interface: Create fulfillment locationCreate fulfillment serviceModify fulfillment serviceDelete fulfillment service
Apply to private application: true

read_returns

Permission point description: Access returns and return orders
Related interface: Query Return Fulfillment OrderQuery Return FulfillmentQuery returns
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 eventsUpdate marketing eventsDelete marketing eventsCreate marketing expansionUpdate marketing expansionCreate campaign summary dataMass sync marketing event statistics
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

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 trialOrder refundCreate payment slipOrder shippedCancel shippingOrder archiveCancel order archiveStart editingSet item quantityAdd a custom productSubmit edit resultsAdd items in orderAdd product discountDelete product discountCreate an orderUpdate orderCancel orderDelete an orderAbandoning and archiving
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_product_variant_images

Permission point description: Read ProductVariant Images
Related interface: query Images of variant
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

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 fulfillmentFulfillment app rejects shipment cancellation requestFulfillment app accepts cancellation request for shipmentFulfillment app rejects shipment requestFulfillment app accepts request to shipShip according to fulfillment order requestDelete fulfillment delivery logistics eventCreate fulfillment shipping logistics event
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_bulkoperation

Permission point description: Access bulk operations and status
Related interface: Query active tasks in current stores
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_markets

Permission point description: Modify market information
Related interface: Market Currency Update
Apply to private application: true

read_url_route

Permission point description: Query URL routing structure of the online store
Related interface: Query URL routing
Apply to private application: true

write_payment_gateways

Permission point description: Modify payment gateways
Related interface: Refund successful notificationMerchant activation successful notificationDevice binding success notificationPayment successful notice
Apply to private application: false

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 orderGet specify fulfillment under fulfillment orderFulfillment app requests shipment cancellationFulfillment order list queryQuery fulfillment and delivery logistics eventsQuery all fulfillments for an order
Apply to private application: true

write_files

Permission point description: Modify store information and manage multimedia resources
Related interface: Create FileUpdate FilesDelete Files
Apply to private application: true

write_product_sizechart

Permission point description: Write product sizechart
Related interface: Batch delete sizechartCreate a size chartUpdate a size chart
Apply to private application: true

read_translation

Permission point description: Access translation
Related interface: translatableResources
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 channelsRetrieve a list of company location catalogsGet catalog products
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_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_gift_card

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

read_pos

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

write_script_tags

Permission point description: Modify JavaScript codes in storefront or orders status pages
Related interface: scriptTagCreate
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

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 collectionQuery the market price of the variantQuery the market price ranges of the productQuery the market published of the productRetrieve a company location catalogSpecify variant for pricing rulesGet catalog locationsGet markets published productsAdd company locationsGet catalog locations (recommended)
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_themes

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

read_store_metrics

Permission point description: Access store metrics, transactions, customer behavior
Related interface: customerSegment
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_message

Permission point description: Create business sessions, initiate meetings, etc.
Related interface: messageSend
Apply to private application: true

unauthenticated_write_cart

Permission point description: Modify shopping carts via Storefront
Related interface: cartItemSelect
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

unauthenticated_read_cart

Permission point description: Access shopping cart data via Storefront
Related interface: cartItemSelect
Apply to private application: true

unauthenticated_read_message

Permission point description: Read business information list
Related interface: messageQuery
Apply to private application: true

Was this article helpful to you?