Accounting

Retrieves a specific item using a unique item Id

Changed on
get/Items/{ItemID}

Request

  • Base URL
    https://api.xero.com/api.xro/2.0
  • URL
    https://api.xero.com/api.xro/2.0/Items/{ItemID}
  • Auth
    OAuth 2
    Authorization code: https://login.xero.com/identity/connect/authorize
    Token URL: https://identity.xero.com/connect/token scopes: accounting.settings, accounting.settings.read

Path parameters

ItemIDstring uuid required

Unique identifier for an Item

Query parameters

unitdpinteger

e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts

Response

Success - return response of type Items array with specified Item

Example response

{
  "Items": [
    {
      "UpdatedDateUTC": "/Date(1573755038314)/"
    }
  ]
}

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status