I’m trying to use the custom_barcode field in the line items when creating an order. The field isn’t saving the correct data; it’s saving the data from the barcode field.
In this test, I pass “TestCustomBarcode” string in the custom_barcode field, but when I retrieve the field it’s null.
In the second test, I put a value on the barcode field and when I query the fields, you can see whatever was on barcode is now showing on custom_barcode.
Plus, the custom_options field is not saving anything.
Hi Kevin, could you please complete your ShipHero account ID in your community profile? Once we have that, we can enable the flag for your account so custom_barcode is handled by the newer order creation flow.
For custom_options, please send it as an object/map instead of a string. For example:
custom_options: {
note: "TestCustomOptions"
}
Sending "TestCustomOptions" as a plain string will be ignored and returned as null.