Product Case Barcodes Endpoint?

There is a feature in product management to assign alternative barcodes using the Product Case Barcodes. I can’t find anything in the API that allows me to add these. Am I missing something or not looking in the right place?

Hey @fairweather,

Thanks for reaching out!
I’ll look into this and get back to you.

Best,

Hey @fairweather,

Thanks for hanging in there. We are able to assign the case_barcode through product_update. It would look something like this:

mutation{
  product_update(data:{
    sku:"sku"
    cases:[{
      case_barcode:"half dozen"
      case_quantity:6      
    },{
      case_barcode:"dozen"
      case_quantity:12         
    }]
  }){
		request_id
    complexity
    product{
      created_at
    }
  }  
}

You can find more information here if needed. Adding this from creation is on the way!

Please let me know if you have any questions or concerns.

Best,
RayanP

Thanks! I got it working. Appreciate the help.

1 Like