Skip to main content

 

Affirm Merchant Help

Affirm Exchange Item Object

Build the Item object array dynamically based on the current cart contents. Item object array will be used to provide additional insights for customer service operations.

"items": [
    {
      "display_name": "Affirm Pants",
      "sku": "ABC-123",
      "unit_price": 1999,
      "qty": 3,
      "item_image_url": "https://merchantsite.com/images/affirm-pants.jpg",
      "item_url": "https://merchantsite.com/products/affirm-pants.html",
      "categories": [
        ["Home","Bedroom"],
        ["Home","Furniture","Bed"]
      ],
      "leasable": true
    }
  ],
display_name

required object.

The display name of the product.

sku

required string.

The product SKU.

unit_price

required integer.

The item price expressed as integer USD cents ("$100" = 10000).

qty

required integer.

The item quantity expressed as an integer.

item_image_url

required string.

The item's product image URL.

item_url

required string.

The item's product description page URL.

categories

optional array.

An array of lists that indicate the various categories that apply to this product, and the hierarchy of those category definitions. Each list in the array contains one or more comma-separated strings, with the first string being the highest-level (widest) category.

leasable

required Boolean

Determines whether the merchandise is considered leasable. 
   
  • Was this article helpful?