Get a sales product

get

/services/rest/connect/v1.4/salesProducts/{id}

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : salesProducts
Type: object
The items or services sold by an organization. Sales products are available to customers through quotes and promotions.
Show Source
Nested Schema : namedIDs-salesProducts-adminVisibleInterfaces
Type: object
The named ID that can be included in a list.
Show Source
  • Minimum Value: 1
    Maximum Value: 9223372036854776000
    The unique identifier of the object. This is the key for the list entry.
  • Maximum Length: 255
    The name used to look up the object.
Nested Schema : salesProducts-attributes
Type: object
The information about a product, whether it has a serial number, is disabled, and is of type Sales or Service.
Show Source
Nested Schema : salesProducts-descriptions
Type: object
The language-specific string used for localization. Labels are assembled in a list that is associated with a particular text field.
Show Source
Nested Schema : salesProducts-folder
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : salesProducts-names
Type: object
The language-specific strings used for localization of fields. The label text cannot be empty or null. The labels are assembled in a list associated with a particular text field.
Show Source
Nested Schema : salesProducts-schedules
Type: object
The price schedule for a sales product.
Show Source
Nested Schema : namedIDs-salesProducts-descriptions-language
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : salesProducts-folder-parents
Type: object
NamedID in which the ID is read-only. Used for hierarchies, where caller can specify the parents by name, but cannot specify the parent IDs.
Show Source
Nested Schema : namedIDs-salesProducts-names-language
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : salesProducts-schedules-price
Type: object
The monetary value that consists of currency, exchange rate, and value.
Show Source
Nested Schema : namedIDs-salesProducts-schedules-schedule
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-salesProducts-schedules-price-currency
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Nested Schema : namedIDs-salesProducts-schedules-price-exchangeRate
Type: object
An ID which has an associated name string. These IDs can be set by either value or name. If the name cannot uniquely determine the value, an error is generated.
Show Source
Back to Top

Examples

Use GET with the following syntax to retrieve a specific sales product:

https://your_site_interface/services/rest/connect/version/salesProducts/product_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/salesProducts/4

Response body example

{
  "id": 4,
  "lookupName": "Blizzard",
  "updatedTime": "2016-02-12T14:37:13.000Z",
  "acceptCount": 0,
  "adminVisibleInterfaces": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/salesProducts/4/adminVisibleInterfaces"
      }
    ]
  },
  "attributes": {
    "disabled": false,
    "hasSerialNumber": true,
    "isSalesProduct": true,
    "isServiceProduct": true
  },
  "customFields": {
    "c": {}
  },
  "descriptions": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/salesProducts/4/descriptions"
      }
    ]
  },
  "displayOrder": 4,
  "folder": null,
  "name": "Blizzard",
  "names": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/salesProducts/4/names"
      }
    ]
  },
  "partNumber": "10001",
  "respondCount": 0,
  "schedules": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/salesProducts/4/schedules"
      }
    ]
  },
  "serviceProduct": {
    "links": [
      {
        "rel": "self",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceProducts/66"
      },
      {
        "rel": "canonical",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/serviceProducts/66"
      },
      {
        "rel": "describedby",
        "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/serviceProducts",
        "mediaType": "application/schema+json"
      }
    ]
  },
  "links": [
    {
      "rel": "self",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/salesProducts/4"
    },
    {
      "rel": "canonical",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/salesProducts/4"
    },
    {
      "rel": "describedby",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/salesProducts",
      "mediaType": "application/schema+json"
    }
  ]
}
Back to Top