Skip to content
msMarketSDK

all endpoints

// api reference

Reputation

GET /v1/reputation_events

A buyer's or a seller's reputation events, newest first

secret key only

GET /v1/reputation_eventsrequest
curl https://api.marketsdk.com/v1/reputation_events \
  -H "Authorization: Bearer $MARKETSDK_KEY"
200 example response, reputation event list
{
  "object": "list",
  "data": [
    {
      "object": "reputation_event",
      "id": "rep_034XtPDs7UJ0TXzTsdaHZa",
      "party": "string",
      "party_role": "buyer",
      "kind": "order_completed",
      "order": null,
      "review": null,
      "rating": null,
      "voids": null,
      "reason": null,
      "occurred_at": "2026-10-01T12:00:00.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}

parameters

Parameters
fieldtypeabout
limitinteger, in querymin 1, max 100, default 20
starting_afterstring, in queryThe next_cursor of the previous page.
partyrequiredstring, in queryThe buyer or seller whose events to list.

returns 200, reputation event list

fields
Response fields
fieldtypeabout
objectrequiredone of: list
datarequiredarray of reputation event
data[].objectrequiredone of: reputation_event
data[].idrequiredstring
data[].partyrequiredstringThe buyer or seller the event belongs to.
data[].party_rolerequiredone of: buyer, seller
data[].kindrequiredone of: order_completed, backed_out, dispute_lost, dispute_won, lapsed, review_received, voided
data[].orderrequiredstring or null
data[].reviewrequiredstring or null
data[].ratingrequiredinteger or nullFor review_received.
data[].voidsrequiredstring or nullFor voided: the event this one voids.
data[].reasonrequiredstring or nullFor voided: the written reason.
data[].occurred_atrequiredtimestamp
has_morerequiredbooleanWhether another page follows.
next_cursorrequiredstring or nullPass as starting_after (or cursor for search) to get the next page.

errors

  • 400The request is not valid.
  • 401No API key, or not a valid one.
  • 429Rate limited. See Retry-After.

POST /v1/reputation_events/{id}/void

Void a reputation event, with a written reason

For the customer's team. Writes a second event pointing at the first. The voided event stops counting. Nothing is deleted.

secret key only

POST /v1/reputation_events/{id}/voidrequest
curl -X POST https://api.marketsdk.com/v1/reputation_events/{id}/void \
  -H "Authorization: Bearer $MARKETSDK_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"reason":"string"}'
200 example response, reputation event
{
  "object": "reputation_event",
  "id": "rep_034XtPDs7UJ0TXzTsdaHZa",
  "party": "string",
  "party_role": "buyer",
  "kind": "order_completed",
  "order": null,
  "review": null,
  "rating": null,
  "voids": null,
  "reason": null,
  "occurred_at": "2026-10-01T12:00:00.000Z"
}

parameters

Parameters
fieldtypeabout
idrequiredstring, in path

body, void

Request body
fieldtypeabout
reasonrequiredstringWhy the event is voided. Recorded on the voiding event.up to 1000 characters

returns 200, reputation event

fields
Response fields
fieldtypeabout
objectrequiredone of: reputation_event
idrequiredstring
partyrequiredstringThe buyer or seller the event belongs to.
party_rolerequiredone of: buyer, seller
kindrequiredone of: order_completed, backed_out, dispute_lost, dispute_won, lapsed, review_received, voided
orderrequiredstring or null
reviewrequiredstring or null
ratingrequiredinteger or nullFor review_received.
voidsrequiredstring or nullFor voided: the event this one voids.
reasonrequiredstring or nullFor voided: the written reason.
occurred_atrequiredtimestamp

errors

  • 400The request is not valid.
  • 401No API key, or not a valid one.
  • 404No object with that id in this marketplace.
  • 409The object is not in a state that allows this.
  • 429Rate limited. See Retry-After.