Skip to content
FOPilot

Orders and stock

One order list across Prom.ua, Horoshop, Rozetka and KeyCRM; status mapping; stock and price updates.

Orders from every store are normalized to: reference (prom:312874561), number, unified status (new, processing, shipped, delivered, completed, canceled) plus the store's own status, total, items, payment method and status, city, branch and waybill number. Status changes accept a unified status or the store's own status id; Rozetka transitions are checked against the order's allowed statuses; Prom cancellations require a reason.

Buyer phones are masked in outputs (+38067***45) and names shortened; get_order with reveal_contacts=true returns full contacts when the seller needs to call the buyer.

update_product_stock updates stock, availability and price on Prom.ua (by product id or external SKU) and stock on KeyCRM (by SKU or offer id in the configured warehouse); each item is one action.