SpotGo
  1. Order
SpotGo
  • Getting started
    • Introduction
    • Authentication
    • Opportunities vs Orders
    • Mappings
  • Order
    • Orders Processing
    • /api/v1/orders/file
      POST
    • /api/v1/orders
      POST
    • /api/v2/orders/{orderId}
      GET
    • /api/v1/orders/{orderId}/file
      GET
  • Opportunity
    • Opportunities (Freight Qoutes)
    • /api/v1/opportunities
      POST
    • /api/v1/opportunities/file
      POST
    • /api/v1/opportunities/image
      POST
    • /api/v1/opportunities/{opportunityId}
      GET
    • /api/v1/opportunities/{opportunityId}/custom
      GET
    • /api/v1/opportunities/{opportunityId}/default
      GET
  • Freight
    • Freight publish
    • /api/v1/freights
      POST
    • /api/v1/freights/{freightId}
      PUT
    • /api/v1/freights/{freightId}
      DELETE
  • Vehicles
    • /api/v1/vehicles
      POST
    • /api/v1/vehicles
      GET
    • /api/v1/vehicles/{vehicleId}
      PUT
    • /api/v1/vehicles/{vehicleId}
      DELETE
    • /api/v1/vehicles/{vehicleId}
      GET
  • Feedback
    • /api/v1/feedback
  • Webhook
    • Webhooks flow
    • /api/v1/webhooks
    • /api/v1/webhooks
    • /api/v1/webhooks/{subscriptionId}
  • Documents
    • Documents processing
    • /api/v1/documents
    • /api/v1/documents/{documentId}/file
    • /api/v1/documents/invoice/{documentId}
    • /api/v1/documents/receipt/{documentId}
    • /api/v1/documents/cmr/{documentId}
  • AccountManagement
    • /api/v1/accounts
    • /api/v1/accounts/block
  1. Order

/api/v1/orders

POST
https://api-test.spotgo.eu/api/v1/orders
Order
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-test.spotgo.eu/api/v1/orders' \
--header 'Content-Type: application/json' \
--data-raw '{
    "file": "string",
    "fileName": "string",
    "type": "Pdf",
    "inputText": "string",
    "metadata": {
        "property1": "string",
        "property2": "string"
    }
}'
Response Response Example
200 - Example 1
{
    "orderId": "e39229c9-5bf2-4f48-aa48-a0aa8fa6ab13"
}

Request

Body Params application/json
file
string  | null 
optional
Base64 content of file
fileName
string  | null 
optional
type
enum<string> 
optional
Allowed values:
PdfImageTextWordRtfMsWord
inputText
string  | null 
optional
Used when processing only text
metadata
object  | null 
optional
Additional properties
string  | null 
optional
Examples

Responses

🟢200OK
text/plain; x-api-version=1.0
OK
Body
orderId
string 
required
🟠400Bad Request
Modified at 2025-05-04 14:05:54
Previous
/api/v1/orders/file
Next
/api/v2/orders/{orderId}
Built with