Skip to content

Comments

Open .md

API reference Sales

Any internal comment by its id, whatever it is on: a sales order, a quote, a job or a purchase order. Read, edit, delete and restore it here. To list or add the comments of one order, use Sales order comments. Customers never see comments.

5 operations

  • GETGet a comment/v1/api/store/{team_slug}/comment/{id}Returns one comment by id, whatever it is on: a sales order, a quote, a job or a purchase order.
  • PUTEdit a comment/v1/api/store/{team_slug}/comment/{id}Replaces a comment's text.
  • PATCHEdit a comment without checks/v1/api/store/{team_slug}/comment/{id}Use PUT to edit a comment.
  • DELETEDelete a comment/v1/api/store/{team_slug}/comment/{id}Deletes a comment.
  • PATCHRestore a deleted comment/v1/api/store/{team_slug}/comment/{hash_id}/restoreBrings back a deleted comment.