Okay then the object you pass in the upsert request should look similar to this object:
{
"object": {
"type": "ITEM",
"id": "DYGVVZKXC445CNLSEMO7GYI6",
"updated_at": "2024-04-22T17:02:06.794Z",
"created_at": "2024-04-22T16:54:15.539Z",
"version": 1713805326794,
"is_deleted": false,
"present_at_all_locations": false,
"present_at_location_ids": [
"3Z4V4WHQK64X9"
],
"absent_at_location_ids": [
"FBVX8TZZTE11P",
"T5Q6VBN7RC5P3"
],
"item_data": {
"name": "Not available in all locations",
"is_taxable": true,
"tax_ids": [
"P2WTZJKP633HECJMGYHVWUU4",
"FZ3MXFSXVJWINFZUJ2N3ND7J",
"QZR25LKZ23SLVOPWFLJ4J3MS",
"ZPTKVRGA2UDO2OZWL6ULID3H",
"IQAZ4AX34FT4MEKQ4V6VC5LA"
],
"variations": [
{
"type": "ITEM_VARIATION",
"id": "7URWJFVADIYFMQEWYT7DWRAG",
"updated_at": "2024-04-22T17:02:06.794Z",
"created_at": "2024-04-22T16:54:15.539Z",
"version": 1713805326794,
"is_deleted": false,
"present_at_all_locations": false,
"present_at_location_ids": [
"3Z4V4WHQK64X9"
],
"absent_at_location_ids": [
"FBVX8TZZTE11P",
"T5Q6VBN7RC5P3"
],
"item_variation_data": {
"item_id": "DYGVVZKXC445CNLSEMO7GYI6",
"name": "Regular",
"sku": "F710027",
"ordinal": 1,
"pricing_type": "FIXED_PRICING",
"price_money": {
"amount": 200,
"currency": "USD"
},
"track_inventory": false,
"sellable": true,
"stockable": true,
"subscription_plan_ids": [
"TBIIVKRVWDZCR3GFT73HZDL2",
"J27BT5MGHLJRIJIWRAGIIXQO",
"AEZUVJGZ2HUJNT4WBXHBBQRZ",
"DA442EYC7ITK75BAJS4TIW7J",
"ATZTVO7BLE6AV37DJ7K3FRVZ"
],
"default_unit_cost": {
"amount": 100,
"currency": "USD"
},
"channels": [
"CH_f9gD2j40pQDTgUvP1vYQRt7mcu1kOBoMsIie5PlQuYC"
],
"item_variation_vendor_info_ids": [
"OGKYYFVBANSHAKNDTPB4CHZ2"
],
"item_variation_vendor_infos": [
{
"type": "ITEM_VARIATION_VENDOR_INFO",
"id": "OGKYYFVBANSHAKNDTPB4CHZ2",
"updated_at": "2024-04-22T17:02:06.794Z",
"created_at": "2024-04-22T16:54:15.539Z",
"version": 1713805326794,
"is_deleted": false,
"present_at_all_locations": false,
"present_at_location_ids": [
"3Z4V4WHQK64X9"
],
"absent_at_location_ids": [
"FBVX8TZZTE11P",
"T5Q6VBN7RC5P3"
],
"item_variation_vendor_info_data": {
"ordinal": 1,
"price_money": {
"amount": 100,
"currency": "USD"
},
"item_variation_id": "7URWJFVADIYFMQEWYT7DWRAG"
}
}
]
}
}
],
"product_type": "REGULAR",
"skip_modifier_screen": true,
"channels": [
"CH_f9gD2j40pQDTgUvP1vYQRt7mcu1kOBoMsIie5PlQuYC"
],
"is_archived": false
}
}
}