Peecho MCP by usefulapi

v1.2.1
io.usefulapi/peecho Checked 3 days ago Published 1 day ago

Read print products, quotes and orders; create orders, set print files and addresses in Peecho.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

peecho_list_categories List product categories

List Peecho product categories and their sub-category codes (for example Books / HC). Use a sub-category code with peecho_list_offerings. Peecho API: GET /rest/v3/categories.

peecho_list_offerings List offerings

List the print products (offerings) available to this merchant, grouped by category code. Each offering has an id, name, paper type and minimum quantity. Peecho API: GET /rest/v3/offering/list.

ParameterTypeDescription
subCategoryFilterstringSub-category code from peecho_list_categories, e.g. HC (hardcover books).

peecho_get_offering_countries Get shipping countries for offerings

Return the countries each offering can ship to. Read-only. Peecho API: POST /rest/v3/offering/countries.

ParameterTypeDescription
offering_ids *arrayOffering ids to check.

peecho_get_offering_spine Get spine width for an offering

Calculate the spine width (in millimetres) an offering needs for a page count in a country. Read-only. Peecho API: GET /rest/v3/offering/spine.

ParameterTypeDescription
country_code *stringISO 3166-1 alpha-2 country code, e.g. NL.
number_of_pages *integerNumber of pages in the print file.
offering_id *integerOffering id (the id field from peecho_list_offerings).

peecho_request_quote Request a price quote

Return prices, currency and shipping for items sent to a destination. It does not create an order. Peecho API: POST /rest/v3/quote.

ParameterTypeDescription
items *array
country_codestringDestination country code.
currencystringISO 4217 currency, e.g. EUR.
statestringDestination state or region code, where needed.

peecho_get_order Get an order

Get an order's state (for example OPEN or PAID), price data, shipping address and items. Read-only. Peecho API: GET /rest/v3/order/details.

ParameterTypeDescription
order_id *stringThe order id (from peecho_create_order or the Peecho dashboard).

peecho_get_order_spine Get spine widths for an order

Return the spine width for each item in an order. Read-only. Peecho API: GET /rest/v3/order/spine/.

ParameterTypeDescription
order_id *stringThe order id (from peecho_create_order or the Peecho dashboard).

peecho_create_order Create a print order

WRITE: create an OPEN print order with one or more items. It does not pay for the order, and nothing is printed until it is paid in Peecho. Items need a unique item_reference. Peecho API: POST /rest/v3/order/.

ParameterTypeDescription
currency *stringISO 4217 currency, e.g. EUR.
item_details *array
address_detailsobjectCustomer and shipping address. Set it later with peecho_update_order_address if omitted.
purchase_orderstringYour own purchase order reference.

peecho_update_order_address Update an order's address

WRITE: replace the customer email and shipping address on an open order. Peecho API: POST /rest/v3/order/address.

ParameterTypeDescription
address_details *object
order_id *stringThe order id (from peecho_create_order or the Peecho dashboard).

peecho_set_order_files Set an order's print files

WRITE: send the print file URL for each item of an order. Each merchant_item_reference must match an item_reference of the order. Peecho API: POST /rest/v3/order/files.

ParameterTypeDescription
files *array