Skip to main content

Return Prices of products for a Business

GET 

/api/v1/custom_prices/businesses/:business_id

Return Prices of products for a Business

Request

Path Parameters

    business_id stringrequired

Query Parameters

    sort string
    page int32

    Default value: 1

    Page offset to fetch.

    per_page int32

    Default value: 10

    Number of results to return per page.

    supplier_product_ids[] string[]required

    Possible values: >= 1

    IDs of the Custom Prices to return

    fallback_to_default boolean

    when set to 'true' missing custom prices will be replaced by a default one

Responses

Return Custom Prices from provided ids

Schema

    data

    object[]

    required

  • Array [

  • id string
    type string

    attributes

    object

    in-cents integer
    default boolean
    supplier-product-id string
    businesses array
    custom-ref string
  • ]

  • meta

    object

    required

    total-count numberrequired
    total-pages numberrequired
Loading...