Hi there,
I'm creating Items with: https://docs.clover.com/reference/inventorycreateitem
but if I send an item group id it takes the item group name instead of the item this is my payload:
{
:name=>"IPhone 12 White 64G", // This is ignored
:price=>39900,
:sku=>"IP-White-64-GB",
:itemGroup=>{
:id=>"EK91XPRJMVSE0"
}
}
This is the endpoint response:
http_method=:post,
url="https://sandbox.dev.clover.com/v3/merchants/ECFVTW74B0K01/items",
status=200,
success=true,
canceled=nil,
body=
{:id=>"HGD8FD68KW73R",
:hidden=>false,
:available=>true,
:autoManage=>false,
:itemGroup=>{:id=>"EK91XPRJMVSE0"},
:name=>"IPhone 12", // name of the item group, not the variant's name I just sent it
:sku=>"IP-White-64-GB",
:price=>39900,
:priceType=>"FIXED",
:defaultTaxRates=>true,
:isRevenue=>true,
:modifiedTime=>1649753403000},
name=:item_create,
error=nil>
Is this normal behavior, because I need to save the variant name instead of the item group name?
Thanks in advance