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 onRead 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 URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopesmarketplaces: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_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning