Skip to main content
POST
Ajouter un article au panier

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corps

application/json
productSku
string
requis

SKU of the Product (or legacy Offer) to add to the cart.

Exemple:

"mc-java-paper"

quantity
number
défaut:1
Plage requise: 1 <= x <= 100
Exemple:

1

planId
string

ID of the billing Plan to use. When omitted, the product base price (or the first active plan, if the product has plans) is used.

eggId
string

Selected egg variant (software choice). Must be the product default egg or one of its eggVariants.

configs
object

Selected config options keyed by configOptionId → chosen value (matching a choice value in the option's choices JSON array). Each selection adds its priceDeltaCents to the unit price.

Exemple:

Réponse

201 - undefined