GET /purchase-items/{id}.json

GET /purchase-items/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

Responses

GET /purchase-items/{id}.json
curl \
 -X GET http://api.example.com/v1/purchase-items/{id}.json \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "bundlePurchaseItemId": 42,
  "bundleQuantity": 0,
  "clonePurchaseItemId": 42,
  "commissionRefund": "none",
  "commissionRetained": 0,
  "commissionTaxRate": 0,
  "commissionTaxRetained": 0,
  "createdAt": "2024-05-04T09:42:00+00:00",
  "dropshipProviderInventoryFeedVariantId": 42,
  "exchangeIso": "string",
  "exchangeRate": 42.0,
  "id": 42,
  "inventoryProcessed": 0,
  "isBundle": false,
  "locked": false,
  "name": "string",
  "notes": {},
  "preventDuplicates": false,
  "price": 0,
  "priceBase": {},
  "priceDisplay": {},
  "priceExtended": 42.0,
  "properties": {},
  "purchaseId": 42,
  "purchaseImportExternalId": "string",
  "quantity": 1,
  "quantityCancelled": 0,
  "quantityInvoiced": 0,
  "quantityReturned": 0,
  "saleItemId": 42,
  "subtotal": 0,
  "tax": 0,
  "taxRate": 42.0,
  "taxable": false,
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "variantId": 42
}