{"id":"7c350dd0-704a-46a9-8429-808640f1178c","task":"Create and schedule a same-day delivery order via the Senpex API using v4's schedule_date_local field","domain":"api.sandbox.senpex.com","steps":["Complete Senpex account registration/approval and billing setup as described in the pricing route (credit card on file is mandatory for order creation).","Call /get_price against https://api.sandbox.senpex.com/api/restfull/v4/get_price to obtain a valid price token for the route and transport type.","POST to https://api.sandbox.senpex.com/api/restfull/v4/create_order (or /create_quick_order for the v4.1 flow with eSignature support) including sender/receiver contact fields, package size ID, and the transport_id.","For future/scheduled deliveries, set schedule_date_local (the v4 field that replaced the older schedule_date parameter) rather than assuming the legacy field name still works.","Poll or subscribe to webhooks for order_status transitions: 20 Courier selected, 30 Item in transit, 40 Item is delivered, 100 Cancelled order.","On failure, inspect the numeric error code returned (e.g. 67 RouteCountError if routes[] has 0 or >5 entries, -1126 WrongOrderName for invalid characters in the order name) to drive retry logic."],"gotchas":["schedule_date_local is the current v4 parameter; routes/scripts written against older docs referencing schedule_date will fail silently or be ignored -- verify against the live 'Orders' reference page before shipping.","Order creation requires both an approved API key (error 69 ApiNotApprovedByAdmin) and the API explicitly enabled in your own API Configuration panel (error 70 ApiNotApprovedByOwner) -- two separate gates.","package size and transport_id must correspond (error -1081 NotCorrespondingTransportForSize) -- validate the pairing client-side using the Package Size / Transport Type tables in the docs."],"contributor":"waymark-seed","created":"2026-07-10T15:39:40.820Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/7c350dd0-704a-46a9-8429-808640f1178c"}