Skip to main content
PUT
/
2.0
/
variant
/
{variantId}
/
channel-metadata
/
{channelMetadataId}
Update specific channel metadata record from a variant by channel metadata ID
curl --request PUT \
  --url https://api.shipbob.com/2.0/variant/{variantId}/channel-metadata/{channelMetadataId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "asin": "string",
  "channel_id": 0,
  "currency": "string",
  "fnsku": "string",
  "fulfillment_channel": "string",
  "id": 0,
  "is_inventory_sync_enabled": true,
  "legacy_product_id": 0,
  "platform": "string",
  "platform_identifier": "string",
  "platform_inventory_item_id": "string",
  "price": 0.1,
  "seller_sku": "string"
}
'
{
  "associated_bundles": [
    {
      "product_id": 123,
      "product_name": "<string>",
      "quantity": 123,
      "variant_id": 123,
      "variant_sku": "<string>"
    }
  ],
  "barcode": "<string>",
  "bundle_definition": [
    {
      "product_id": 123,
      "quantity": 123,
      "variant_id": 123,
      "variant_name": "<string>",
      "variant_sku": "<string>"
    }
  ],
  "created_on": "2023-11-07T05:31:56Z",
  "customs": {
    "country_code_of_origin": "<string>",
    "currency": "<string>",
    "description": "<string>",
    "hs_tariff_code": "<string>",
    "is321_eligible": true,
    "value": 123
  },
  "dimension": {
    "height": 123,
    "length": 123,
    "unit": "<string>",
    "width": 123
  },
  "fulfillment_settings": {
    "dangerous_goods": true,
    "is_bpm_parcel": true,
    "is_case_pick": true,
    "msds_url": "<string>",
    "requires_prop65": true,
    "serial_scan": {
      "exact_character_length": 123,
      "is_enabled": true,
      "prefix": "<string>",
      "suffix": "<string>"
    }
  },
  "gtin": "<string>",
  "id": 123,
  "inventory": {
    "inventory_id": 123,
    "on_hand_qty": 123
  },
  "is_digital": true,
  "lot_information": {
    "is_lot": true,
    "minimum_shelf_life_days": 123
  },
  "name": "<string>",
  "packaging_material_type": {
    "id": 123,
    "name": "<string>"
  },
  "packaging_requirement": {
    "id": 123,
    "name": "<string>"
  },
  "return_preferences": {
    "backup_action": {
      "id": 123,
      "name": "<string>"
    },
    "instructions": "<string>",
    "primary_action": {
      "id": 123,
      "name": "<string>"
    },
    "return_to_sender_backup_action": {
      "id": 123,
      "name": "<string>"
    },
    "return_to_sender_primary_action": {
      "id": 123,
      "name": "<string>"
    }
  },
  "sku": "<string>",
  "status": "<string>",
  "upc": "<string>",
  "updated_on": "2023-11-07T05:31:56Z",
  "weight": {
    "unit": "<string>",
    "weight": 123
  },
  "channel_metadata": [
    {
      "channel_id": 123,
      "channel_name": "<string>",
      "currency": "<string>",
      "id": 123,
      "is_inventory_sync_enabled": true,
      "legacy_product_id": 123,
      "platform": "<string>",
      "platform_identifier": "<string>",
      "platform_inventory_item_id": "<string>",
      "price": 123,
      "seller_sku": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Authentication using Personal Access Token (PAT) token

Path Parameters

variantId
string<int64>
required

The ID of the variant to update the metadata from

channelMetadataId
string<int64>
required

The ID of the channel metadata record to update

Body

application/json

Amazon Sales Channel Information with custom Amazon Fields Standard Channel Metadata Record to store SellerSKU for a Sales Channel

channel_id
integer<int32> | null
currency
string | null
id
integer<int64> | null
is_inventory_sync_enabled
boolean
platform
string | null
platform_identifier
string | null
platform_inventory_item_id
string | null
price
number<double>
seller_sku
string | null
asin
string | null
fnsku
string | null
fulfillment_channel
string | null

Response

Success

associated_bundles
object[] | null
barcode
string | null
bundle_definition
object[] | null
created_on
string<date-time>
customs
object
dimension
object
fulfillment_settings
object
gtin
string | null
id
integer<int64>
inventory
object
is_digital
boolean
lot_information
object
name
string | null
packaging_material_type
object
packaging_requirement
object
return_preferences
object
sku
string | null
status
string | null
upc
string | null
updated_on
string<date-time> | null
weight
object
channel_metadata
object[] | null