read
marketplaces

Read one document live from bol with the store's own account: a promotion (returned as data), an invoice PDF, or a reple

Changed on

Read one document live from bol with the store's own account: a promotion (returned as data), an invoice PDF, or a replenishment's pick list or load-carrier labels. A PDF is not returned inline: the result names its size and where to open it in Magistry. An id of another seller is bol's not_found. Costs 0 credits; bol does not bill its Retailer API.

post/api/v1/tools/bol_document_get

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopesmarketplaces:read

Request body

object required
kind, 'invoice_pdf' | 'promotion' | 'pick_list' | 'load_carrier_labels' required
id, string required
label_type, 'WAREHOUSE' | 'TRANSPORT'

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision