Skip to main content
All 192 Admin API operations, with the scope a secret API key needs for each. JWT-authenticated admin users are governed by their roles instead of scopes. The same index is available offline via the CLI: spree api endpoints. Endpoints marked — are exempt from scope checks (authentication and session endpoints) or resolve their scope at request time.

Admin users

MethodPathRequired scopeSummary
GET/admin_usersread_settingsList staff
GET/admin_users/{id}read_settingsShow a staff member
PATCH/admin_users/{id}write_settingsUpdate a staff member
DELETE/admin_users/{id}write_settingsRemove a staff member from this store

Allowed origins

MethodPathRequired scopeSummary
GET/allowed_originsread_settingsList allowed origins
POST/allowed_originswrite_settingsCreate an allowed origin
GET/allowed_origins/{id}read_settingsGet an allowed origin
PATCH/allowed_origins/{id}write_settingsUpdate an allowed origin
DELETE/allowed_origins/{id}write_settingsDelete an allowed origin

Api keys

MethodPathRequired scopeSummary
GET/api_keysread_api_keysList API keys
POST/api_keyswrite_api_keysCreate an API key
GET/api_keys/{id}read_api_keysShow an API key
DELETE/api_keys/{id}write_api_keysDelete an API key
PATCH/api_keys/{id}/revokewrite_api_keysRevoke an API key

Auth

MethodPathRequired scopeSummary
POST/auth/loginLogin
POST/auth/refreshRefresh token
POST/auth/logoutLogout

Channels

MethodPathRequired scopeSummary
GET/channelsread_settingsList channels
POST/channelswrite_settingsCreate a channel
GET/channels/{id}read_settingsGet a channel
PATCH/channels/{id}write_settingsUpdate a channel
DELETE/channels/{id}write_settingsDelete a channel
POST/channels/{id}/add_productswrite_productsPublish products on a channel
POST/channels/{id}/remove_productswrite_productsUnpublish products from a channel

Custom field definitions

MethodPathRequired scopeSummary
GET/custom_field_definitionsread_settingsList custom field definitions
POST/custom_field_definitionswrite_settingsCreate a custom field definition
GET/custom_field_definitions/{id}read_settingsShow a custom field definition
PATCH/custom_field_definitions/{id}write_settingsUpdate a custom field definition
DELETE/custom_field_definitions/{id}write_settingsDelete a custom field definition

Customer groups

MethodPathRequired scopeSummary
GET/customer_groupsread_customersList customer groups
POST/customer_groupswrite_customersCreate a customer group
GET/customer_groups/{id}read_customersGet a customer group
PATCH/customer_groups/{id}write_customersUpdate a customer group
DELETE/customer_groups/{id}write_customersDelete a customer group

Customers

MethodPathRequired scopeSummary
GET/customers/{customer_id}/addressesread_customersList customer addresses
POST/customers/{customer_id}/addresseswrite_customersCreate a customer address
PATCH/customers/{customer_id}/addresses/{id}write_customersUpdate a customer address
DELETE/customers/{customer_id}/addresses/{id}write_customersDelete a customer address
GET/customers/{customer_id}/credit_cardsread_customersList customer credit cards
GET/customers/{customer_id}/credit_cards/{id}read_customersShow a customer credit card
DELETE/customers/{customer_id}/credit_cards/{id}write_customersDelete a customer credit card
GET/customers/{customer_id}/store_creditsread_store_creditsList customer store credits
POST/customers/{customer_id}/store_creditswrite_store_creditsIssue a store credit to a customer
PATCH/customers/{customer_id}/store_credits/{id}write_store_creditsUpdate a store credit
DELETE/customers/{customer_id}/store_credits/{id}write_store_creditsDelete a store credit
GET/customersread_customersList customers
POST/customerswrite_customersCreate a customer
GET/customers/{id}read_customersShow a customer
PATCH/customers/{id}write_customersUpdate a customer
DELETE/customers/{id}write_customersDelete a customer
POST/customers/bulk_add_to_groupswrite_customersBulk-add customers to groups
POST/customers/bulk_remove_from_groupswrite_customersBulk-remove customers from groups
POST/customers/bulk_add_tagswrite_customersBulk-add tags to customers
POST/customers/bulk_remove_tagswrite_customersBulk-remove tags from customers

Exports

MethodPathRequired scopeSummary
GET/exportsthe read scope of the exported resourceList exports
POST/exportsthe read scope of the exported resourceCreate an export
GET/exports/{id}the read scope of the exported resourceShow an export
DELETE/exports/{id}the read scope of the exported resourceDelete an export
GET/exports/{id}/downloadthe read scope of the exported resourceDownload an export

Gift card batches

MethodPathRequired scopeSummary
GET/gift_card_batchesread_gift_cardsList gift card batches
POST/gift_card_batcheswrite_gift_cardsCreate a gift card batch
GET/gift_card_batches/{id}read_gift_cardsGet a gift card batch

Gift cards

MethodPathRequired scopeSummary
GET/gift_cardsread_gift_cardsList gift cards
POST/gift_cardswrite_gift_cardsCreate a gift card
GET/gift_cards/{id}read_gift_cardsGet a gift card
PATCH/gift_cards/{id}write_gift_cardsUpdate a gift card
DELETE/gift_cards/{id}write_gift_cardsDelete a gift card

Invitations

MethodPathRequired scopeSummary
GET/invitationsread_settingsList invitations
POST/invitationswrite_settingsCreate an invitation
DELETE/invitations/{id}write_settingsRevoke an invitation
PATCH/invitations/{id}/resendwrite_settingsResend an invitation

Markets

MethodPathRequired scopeSummary
GET/marketsread_settingsList markets
POST/marketswrite_settingsCreate a market
GET/markets/{id}read_settingsGet a market
PATCH/markets/{id}write_settingsUpdate a market
DELETE/markets/{id}write_settingsDelete a market

Me

MethodPathRequired scopeSummary
GET/meGet current admin user and permissions

Option types

MethodPathRequired scopeSummary
GET/option_typesread_productsList option types
POST/option_typeswrite_productsCreate an option type
GET/option_types/{id}read_productsGet an option type
PATCH/option_types/{id}write_productsUpdate an option type
DELETE/option_types/{id}write_productsDelete an option type

Orders

MethodPathRequired scopeSummary
GET/orders/{order_id}/fulfillmentsread_fulfillmentsList fulfillments
GET/orders/{order_id}/fulfillments/{id}read_fulfillmentsShow a shipment
PATCH/orders/{order_id}/fulfillments/{id}write_fulfillmentsUpdate a shipment
PATCH/orders/{order_id}/fulfillments/{id}/fulfillwrite_fulfillmentsFulfill a fulfillment
PATCH/orders/{order_id}/fulfillments/{id}/cancelwrite_fulfillmentsCancel a fulfillment
PATCH/orders/{order_id}/fulfillments/{id}/resumewrite_fulfillmentsResume a fulfillment
PATCH/orders/{order_id}/fulfillments/{id}/splitwrite_fulfillmentsSplit a fulfillment
POST/orders/{order_id}/gift_cardswrite_gift_cardsApply a gift card to an order
DELETE/orders/{order_id}/gift_cards/{id}write_gift_cardsRemove a gift card from an order
GET/orders/{order_id}/itemsread_ordersList order items
POST/orders/{order_id}/itemswrite_ordersAdd an item
GET/orders/{order_id}/items/{id}read_ordersShow an item
PATCH/orders/{order_id}/items/{id}write_ordersUpdate an item
DELETE/orders/{order_id}/items/{id}write_ordersRemove an item
POST/orders/{order_id}/store_creditswrite_store_creditsApply customer’s store credit to an order
DELETE/orders/{order_id}/store_creditswrite_store_creditsRemove store credit from an order
GET/ordersread_ordersList orders
POST/orderswrite_ordersCreate a draft order
GET/orders/{id}read_ordersShow an order
PATCH/orders/{id}write_ordersUpdate an order
DELETE/orders/{id}write_ordersDelete a draft order
PATCH/orders/{id}/completewrite_ordersComplete an order
PATCH/orders/{id}/cancelwrite_ordersCancel an order
PATCH/orders/{id}/approvewrite_ordersApprove an order
PATCH/orders/{id}/resumewrite_ordersResume a canceled order
POST/orders/{id}/resend_confirmationwrite_ordersResend confirmation email
GET/orders/{order_id}/paymentsread_paymentsList payments
POST/orders/{order_id}/paymentswrite_paymentsCreate a payment
GET/orders/{order_id}/payments/{id}read_paymentsShow a payment
PATCH/orders/{order_id}/payments/{id}/capturewrite_paymentsCapture a payment
PATCH/orders/{order_id}/payments/{id}/voidwrite_paymentsVoid a payment
GET/orders/{order_id}/refundsread_refundsList refunds
POST/orders/{order_id}/refundswrite_refundsCreate a refund

Payment methods

MethodPathRequired scopeSummary
GET/payment_methodsread_settingsList payment methods
GET/payment_methods/typesread_settingsList available payment provider types
GET/payment_methods/{id}read_settingsShow a payment method

Price lists

MethodPathRequired scopeSummary
GET/price_listsread_productsList price lists
POST/price_listswrite_productsCreate a price list
GET/price_lists/{id}read_productsGet a price list
PATCH/price_lists/{id}write_productsUpdate a price list
DELETE/price_lists/{id}write_productsDelete a price list
PATCH/price_lists/{id}/activatewrite_productsActivate a price list
PATCH/price_lists/{id}/deactivatewrite_productsDeactivate a price list

Prices

MethodPathRequired scopeSummary
GET/pricesread_productsList prices
POST/priceswrite_productsCreate a price
GET/prices/{id}read_productsGet a price
PATCH/prices/{id}write_productsUpdate a price
DELETE/prices/{id}write_productsDelete a price
POST/prices/bulk_upsertwrite_productsBulk-upsert prices
DELETE/prices/bulk_destroywrite_productsBulk-delete prices

Products

MethodPathRequired scopeSummary
GET/products/{product_id}/custom_fieldsread_productsList product custom fields
POST/products/{product_id}/custom_fieldswrite_productsCreate a product custom field
GET/products/{product_id}/custom_fields/{id}read_productsShow a product custom field
PATCH/products/{product_id}/custom_fields/{id}write_productsUpdate a product custom field
DELETE/products/{product_id}/custom_fields/{id}write_productsDelete a product custom field
GET/productsread_productsList products
POST/productswrite_productsCreate a product
GET/products/{id}read_productsGet a product
PATCH/products/{id}write_productsUpdate a product
DELETE/products/{id}write_productsDelete a product
POST/products/bulk_status_updatewrite_productsBulk-update product status
POST/products/bulk_add_to_categorieswrite_productsBulk-add products to categories
POST/products/bulk_remove_from_categorieswrite_productsBulk-remove products from categories
POST/products/bulk_add_to_channelswrite_productsBulk-add products to channels
POST/products/bulk_remove_from_channelswrite_productsBulk-remove products from channels
POST/products/bulk_add_tagswrite_productsBulk-add tags to products
POST/products/bulk_remove_tagswrite_productsBulk-remove tags from products
DELETE/products/bulk_destroywrite_productsBulk-delete products
GET/products/{product_id}/variantsread_productsList product variants
POST/products/{product_id}/variantswrite_productsCreate a variant
GET/products/{product_id}/variants/{id}read_productsGet a variant
PATCH/products/{product_id}/variants/{id}write_productsUpdate a variant
DELETE/products/{product_id}/variants/{id}write_productsDelete a variant

Promotion actions

MethodPathRequired scopeSummary
GET/promotion_actions/typesread_promotionsList available promotion action types

Promotion rules

MethodPathRequired scopeSummary
GET/promotion_rules/typesread_promotionsList available promotion rule types

Promotions

MethodPathRequired scopeSummary
GET/promotions/{promotion_id}/coupon_codesread_promotionsList coupon codes for a promotion
GET/promotions/{promotion_id}/promotion_actionsread_promotionsList actions for a promotion
POST/promotions/{promotion_id}/promotion_actionswrite_promotionsCreate an action on a promotion
DELETE/promotions/{promotion_id}/promotion_actions/{id}write_promotionsDelete an action from a promotion
GET/promotions/{promotion_id}/promotion_rulesread_promotionsList rules for a promotion
POST/promotions/{promotion_id}/promotion_ruleswrite_promotionsCreate a rule on a promotion
PATCH/promotions/{promotion_id}/promotion_rules/{id}write_promotionsUpdate a rule’s preferences
DELETE/promotions/{promotion_id}/promotion_rules/{id}write_promotionsDelete a rule from a promotion
GET/promotionsread_promotionsList promotions
POST/promotionswrite_promotionsCreate a promotion
GET/promotions/{id}read_promotionsShow a promotion
PATCH/promotions/{id}write_promotionsUpdate a promotion
DELETE/promotions/{id}write_promotionsDelete a promotion

Roles

MethodPathRequired scopeSummary
GET/rolesread_settingsList roles

Stock locations

MethodPathRequired scopeSummary
GET/stock_locationsread_stockList stock locations
POST/stock_locationswrite_stockCreate a stock location
GET/stock_locations/{id}read_stockGet a stock location
PATCH/stock_locations/{id}write_stockUpdate a stock location
DELETE/stock_locations/{id}write_stockDelete a stock location

Store

MethodPathRequired scopeSummary
GET/storeread_settingsGet the current store
PATCH/storewrite_settingsUpdate the current store

Store credit categories

MethodPathRequired scopeSummary
GET/store_credit_categoriesread_settingsList store credit categories
GET/store_credit_categories/{id}read_settingsGet a store credit category

Tags

MethodPathRequired scopeSummary
GET/tagsList tags

Webhook endpoints

MethodPathRequired scopeSummary
GET/webhook_endpoints/{webhook_endpoint_id}/deliveriesread_webhooksList webhook deliveries
GET/webhook_endpoints/{webhook_endpoint_id}/deliveries/{id}read_webhooksGet a webhook delivery
POST/webhook_endpoints/{webhook_endpoint_id}/deliveries/{id}/redeliverwrite_webhooksRedeliver a webhook delivery
GET/webhook_endpointsread_webhooksList webhook endpoints
POST/webhook_endpointswrite_webhooksCreate a webhook endpoint
GET/webhook_endpoints/{id}read_webhooksGet a webhook endpoint
PATCH/webhook_endpoints/{id}write_webhooksUpdate a webhook endpoint
DELETE/webhook_endpoints/{id}write_webhooksDelete a webhook endpoint
POST/webhook_endpoints/{id}/send_testwrite_webhooksSend a test delivery
PATCH/webhook_endpoints/{id}/enablewrite_webhooksRe-enable a webhook endpoint
PATCH/webhook_endpoints/{id}/disablewrite_webhooksDisable a webhook endpoint