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/file

POST
https://api-test.spotgo.eu/api/v1/orders/file
Order
Allow to provide the file without converting to Base64.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-test.spotgo.eu/api/v1/orders/file' \
--form 'name=@""' \
--form 'Type=""' \
--form 'AdditionalInfo=""' \
--form 'metadata[OriginalSender]=""'
Response Response Example
200 - Example 1
{
    "orderId": "e39229c9-5bf2-4f48-aa48-a0aa8fa6ab13"
}

Request

Body Params multipart/form-data
name
file 
optional
File to process
Type
string 
optional
Pdf, Image, Word
AdditionalInfo
string 
optional
Context for order processing
metadata[OriginalSender]
object 
optional
Example how to provide metadata
Additional properties
string  | null 
optional

Responses

🟢200OK
text/plain; x-api-version=1.0
OK
Body
orderId
string 
required
🟠400Bad Request
Modified at 2025-05-06 05:54:46
Previous
Orders Processing
Next
/api/v1/orders
Built with