PUT
/
v1
/
warranty_line_item
curl --location --request PUT 'https://api.stateset.com/v1/warranty_line_item' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "_id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
}'
{
  "data": {
    "warranty_line_items": [
      {
        "id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
        "sku": "123456789",
        "name": "Warranty Item",
        "price": "100.00",
        "condition": "New",
        "tax_refunded": false,
        "flat_rate_shipping": "10.00",
        "warranty_id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
        "serial_number": "123456789",
        "amount": "110.00",
        "image_1": "https://www.example.com/image1.jpg",
        "image_2": "https://www.example.com/image2.jpg",
        "image_3": "https://www.example.com/image3.jpg",
        "match": "123456789"
      }
    ]
  }
}

Body

id
string

This is the id of the warranty line item.

sku
string

This is the sku of the warranty line item.

name
string

This is the name of the warranty line item.

price
string

This is the price of the warranty line item.

condition
string

This is the condition of the warranty line item.

serial_number
string

This is the serial number of the warranty line item.

amount
string

This is the amount of the warranty line item.

warranty_id
string

This is the warranty id of the warranty line item.

created_at
string

This is the created at of the warranty line item.

updated_at
string

This is the updated at of the warranty line item.

Response

id
string

This is the id of the warranty line item.

amount
string

This is the amount of the warranty line item.

condition
string

This is the condition of the warranty line item.

flat_rate_shipping
string

This is the flat rate shipping of the warranty line item.

name
string

This is the name of the warranty line item.

price
string

This is the price of the warranty line item.

warranty_id
string

This is the id of the warranty associated with the line item.

serial_number
string

This is the serial number of the warranty line item.

sku
string

This is the sku of the warranty line item.