Notes

Update a note

The body carries target_type, because the id alone does not say which of the two stores holds the row.

patch/api/v1/notes/{id}

Request

  • Base URL: https://app.sellerassistant.app (the document declares no server; this is the origin it was published from)
  • URL: https://app.sellerassistant.app/api/v1/notes/{id}
  • Auth: one of:
    • API key in query parameter api_key
    • API key in header X-Api-Key

Path parameters

idinteger required
Example:7

Request body

target_type'asin' | 'supplier' | 'purchase_order' | 'warehouse' | 'price_list' required
notestring required

Example request

{
  "target_type": "asin",
  "note": "pays late"
}

Response

The note

Example response

{
  "data": {
    "id": 7,
    "target_type": "asin",
    "target_id": "ATVPDKIKX0DER/B08N5WRWNW",
    "note": "check the box count",
    "user_id": 42,
    "user_name": "John Doe"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.