Skip to Content
MinexonMinexon

market.remove-from-cart

Removes a marketplace listing from the player’s cart.

POST/api/v1/{locale}/cart/market/{id}/remove

API scope market.remove-from-cart

Request

Send Authorization: Bearer <key> with each request.

Requires a signed-in player and applicable permission.

Path parameters

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.
idintegerRequiredIdentifier of the requested resource or file.

This endpoint takes no request body.

Run samples from your application server. See Quickstart for variables and sessions.

curl --fail-with-body --request POST \
  -H "Authorization: Bearer $MINEXON_API_KEY" \
  -b "$MINEXON_COOKIE_JAR" -c "$MINEXON_COOKIE_JAR" \
  "${MINEXON_BASE_URL}/api/v1/en/cart/market/42/remove"

Response

HTTP 200 · application/json

FieldTypeRequirementDescription
nextstringRequiredURL of the next player page.
noticesstring[]ConditionalSuccess and state codes.
errorstringConditionalError code.
errorsstring[]ConditionalField or operation error codes.
{
  "next": "<next URL returned by CMS>"
}

Flow and error cases

Shared error and authentication contract