Send a list of parts and quantities along with your PO number. The response confirms the order, your real B2B prices, and the total.Documentation Index
Fetch the complete documentation index at: https://docs.skynetparts.com/llms.txt
Use this file to discover all available pages before exploring further.
Headers
| Header | Required | Value |
|---|---|---|
Authorization | Yes | Bearer sk_live_... |
Content-Type | Yes | application/json |
Idempotency-Key | Yes | A unique string per order. |
About Idempotency-Key
A unique string you make up for each order anything you want, like your PO number plus today’s date. If your network drops and you retry the same request with the same Idempotency-Key, we return the original order instead of creating a duplicate. Always send one.
Body
The parts to order. At least one entry.
From the Look Up Parts response.
Positive integer.
Your internal purchase order number.
Free-text note that appears on the order paperwork.
Response fields
true when the order is created.An opaque order ID. Use this when contacting support about an order.
Always
draft when an order is first created. Your Skynet account manager confirms the order before it ships. You can sign in to your Skynet B2B account to see all draft orders.Your internal PO number, echoed back from the request.
One entry per item you ordered. Note:
line_items do not include the part_id from your request once an order is placed, you reference it by order_id and po_number, not by individual part.The manufacturer part number for this line.
Human-readable name for the part.
Units ordered on this line.
The price you actually pay per unit. This is your B2B price for this part may be lower than the catalog price shown when you looked up the part. Contains
amount and currency.unit_price × quantity for this line. Contains amount and currency.The sum of all
line_total values. Final invoice may include tax, shipping, and other adjustments depending on your account terms.ISO 8601 UTC timestamp.
Errors
These codes apply to this endpoint:| Code | HTTP | Meaning |
|---|---|---|
VALIDATION_FAILED | 400 | Body is missing a field or has the wrong type. |
INVALID_PART_TOKEN | 400 | A part_id you sent isn’t recognized. Look up the part again. |
INVALID_API_KEY | 401 | Your API key is missing, malformed, or wrong. |
KEY_REVOKED | 401 | The key was revoked. Email api@skynetparts.com for a replacement. |
INSUFFICIENT_INVENTORY | 409 | One or more items don’t have enough stock. Response lists which. |
IDEMPOTENCY_CONFLICT | 409 | You sent an Idempotency-Key we’ve already seen, but with a different order body. |
ORDER_FAILED | 502 | Order placement failed on our end. Your order was not placed. Safe to retry. |