v1

latestOpenAPI 3.0.32026-08-0627425250.9 KB
Logistics

Creates a pickup for a given process_id, customer and address A logistic order must be created prior requesting a pickup Must specify the provider and carrier to be used to create the pickup:

  • Returns UNIMPLEMENTED (gRPC code 12) if the provider is OPS, meaning it didn't generated any action.
  • Returns InvalidArgument (gRPC code 3) if the combination of return-method, providerand carrier is not supported.
post/v1/logistics/pickup

Request body

carrierstring

Carrier to be used for generating the pickup (DHL, UPS, Correos...) must be available for the given provider

ecommerce_idstring

Ecommerce associated to this logistic order

pickup_rangesstring[]

Preferred times for the pickup a the customer address

process_idstring

Id of the process that the pickup is associated to

providerstring

Provider to be used for generating the pickup (SendCloud, OPS, etc).

Response

OK