Preview

setCatalogVendorCost is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

setCatalogVendorCost

Set the syndicated catalog vendor cost for a pricing plan in the context of a partner (child marketplace). Upserts the per-fee cost overrides used by cost-based pricing.

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:

    Scopes

    ROLE_CHANNEL_ADMIN

    ROLE_PARTNER

    Arguments

    input SetCatalogVendorCostInput! PREVIEW

    Attributes describing the catalog vendor cost to set for a pricing plan

    SetCatalogVendorCostInput fields

    pricingPlanId ID!

    Unique identifier of the pricing plan whose catalog vendor cost is being set

    flatFee CatalogVendorCostInput PREVIEW

    Catalog vendor cost for the flat fee

    setupFee CatalogVendorCostInput PREVIEW

    Catalog vendor cost for the setup fee

    contractFee CatalogVendorCostInput PREVIEW

    Catalog vendor cost for the contract fee

    units [CatalogVendorCostPerUnitInput!] PREVIEW

    Catalog vendor cost for the various units in the pricing plan

    Return Fields

    catalogVendorCost CatalogVendorCostPlan PREVIEW

    The catalog vendor cost plan after the set operation

    userErrors [SetCatalogVendorCostError!] PREVIEW

    Error details while setting the catalog vendor cost for the pricing plan

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.