Skip to main content

productPublishingFields

The full product publishing map for an integration: the built-in pairings Endless maintains (source SYSTEM) followed by the attribute mappings the user configured (source ATTRIBUTE). Renders the Product publishing table without the client needing to know anything integration-specific.

Business Rules

  • The integration must belong to the company and support product listings.
  • System pairings an integration does not declare are simply absent.
  • enabled is the effective write state: a pairing the integration would drop comes back disabled with a disabledReason.

Error Scenarios

  • **LISTINGS_ENGINE_DISABLED**: the listings engine is not enabled for the company.
  • **VALIDATION**: the integration does not support product listings.

Permissions Required

  • products:external_attribute_mappings permission.
productPublishingFields(
integrationId: ID!
): [ProductPublishingField!]!

Arguments

productPublishingFields.integrationId ● ID! non-null scalar common

The integration whose publishing map should be returned.

Type

ProductPublishingField object listings

One row of an integration's product publishing map: which Endless product attribute is written to which external field, and whether that pairing is built in or configured by the user.