Product API

Search the ABC Supply product catalog and view product information. Get product availability and key product attributes across several product hierarchies.

The Get Item Image endpoint returns a PNG image of an item by its image asset ID. The image size returned is a maximum of 250 x 250 pixels. NOTE: some items in the ABC product catalog do not have images available.

Product API

Get Item Image

GET /items/{assetId}/images

Get an image asset for an item

Authorization

For Individuals and Businesses, use OAuth 2.0 server or user token with the product.read scope.

For Third-Party Aggregators, use OAuth 2.0 user token with the product.read scope.

Request

URI Parameters

Name

Type

Description

assetId

string

The item image asset ID. This value can be found in the response field images[].assetId of Get All Items, Get Item, and Search Items.

Example Request

Get Item Image for item number GSC812BHEG

PUT/api/product/v1/items/ABC-Gutter-Coil-Accessories-GSC812BHEG-primary/images HTTP/1.1
Host: partners.abcsupply.com
Authorization: Bearer <TOKEN>
Expand

Response

Example Response

Get Item Image response payload (250 x 250 pixel maximum .PNG file)

HTTP Status Codes

Code

Status

Description

200

OK

The request and response were sent successfully.

400

Bad Request

Ensure the query parameters provided and authorization used are valid.

404

Not Found

The asset requested was not found. Check the assetId provided.

500

Internal Server Error

The server was unable to process the request.