Musement API

The Musement API Developer Hub

Welcome to the Musement API developer hub. You'll find comprehensive guides and documentation to help you start working with Musement API as quickly as possible, as well as support if you get stuck. Let's jump right in!

Subscribe to the Musement API Docs Newsletter

API Reference

Swagger definition

Guides    API Reference

Create a cart

Integration flow

Integration flow

To create a cart simply send a POST to the endpoint /api/v3/carts

curl -X POST \
  https://api.musement.com/api/v3/carts \
  -H 'Authorization: Bearer ValidAccessToken' \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -H 'X-Musement-Currency: USD' \
  -d '{}'

The response is an empty cart. The only thing you need is the cart uuid. We will later refer to this value using [CART_UUID]

{
    "uuid": "[CART_UUID]",
    "items": [],
    "full_price": {
        "currency": "USD",
        "value": 0,
        "formatted_value": "$ 0.00"
    },
    "discount": {
        "currency": "USD",
        "value": 0,
        "formatted_value": "$ 0.00"
    },
    "retail_price": {
        "currency": "USD",
        "value": 0,
        "formatted_value": "$ 0.00"
    },
    "service_fee": {
        "currency": "USD",
        "value": 0,
        "formatted_value": "$ 0.00"
    }
}

Create a cart


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.