Attribute not shown with the Product

pvkpvk Member Posts: 1

As building an interface between AccounView and LightSpeed, Products are created.

Next step is creating attributes and attach them to the product.

Creating of the attribute works fine, attribute_id is returned.

Creating of the link with the product works fine also, the result is accordingly the documentation.

But.. the attributes are not shown with the product in Lightspeed.

Anyone an idea what goes wrong ?

1 comment

  • LucienVersendaalLucienVersendaal Moderator, Lightspeed Staff Posts: 856 moderator

    Hi @pvk,

    Thank you for contacting us.

    After creating the Attribute you'll need to create a Type. After you've a Type and the Attribute you attach those with TypesAttribute endpoint. Last step is to attach the type to the product with updating the product with this payload:

    {
      "product": {
        "type": 192025 //ID of type
      }
    }
    


Sign In or Register to comment.