Custom attributes at the product line level.
Fields
name ● String
Custom attribute name. Example: Attribute name.
value ● String
Custom attribute value. Example: ``Attribute value`.
urls ● [String]
URL resource list.
  • If type is picture, thumbnails can be retrieved via the urls values.
  • If type is link, the hyperlink is the first URL in the urls values.
Example: https://openapi.myshopline.com
type ● String
Custom information type. Valid values are:
  • text: Character type
  • picture: Picture type
  • link: Link type
show ● Boolean
Whether the customized information is visible.
  • true: indicates that the customized information is visible.
  • false: indicates that the customized information is not visible.
Default value: false.
extInfo ● String
Extended field, used to store non-display information.
additional ● String
Additional custom fields for products. For example, if name is text, additional can include attributes such as font size, font style, and color. Example: Additional fields.
roleVisibility ● String
Visibility target for the custom information. Valid values are:
  • customer: Visible only to buyers.
  • merchant: Visible only to merchants.
  • all: Visible to both buyers and merchants.
  • none: Invisible to both buyers and merchants.
Map
Was this article helpful to you?