MarminDeveloper Docs

Retrieve a purchase credit note


Retrieves the details of a specific purchase credit note.

Path parameters

GET /api/purchase-credit-notes/{id}
ParameterTypeRequiredDescription
idstring
Required
The ID of the purchase credit note to retrieve.
Response

Status code: 200 OK

Response body:

Returns the purchase credit note object with all fields populated.

Error responses

401 Unauthorized

Authentication required or invalid token.

{
  "errors": {
    "message": "Authentication required or invalid token"
  }
}
404 Not Found

Purchase credit note not found.

{
  "errors": {
    "message": "Purchase credit note not found"
  }
}
500 Internal Server Error

An error occurred while processing the request.

{
  "errors": {
    "message": "An error occurred"
  }
}
Next