Apply customer's store credit to an order
Applies the order customer’s available store credit. When amount is omitted, applies up to the order outstanding balance.
Required scope: write_store_credits (for API-key authentication).
POST
Spree Admin SDK
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Path Parameters
Order ID
Body
application/json
Optional explicit amount; defaults to order outstanding balance
Response
201 - application/json
store credit applied
Spree Admin SDK

