Returns

You may find descriptions of endpoints for work with returned orders bellow.

Filter returns

post
Authorizations
authorizationstringRequired
x-api-keystringRequired
Header parameters
x-api-keystringRequired

This is the eshop key you receive during onboarding.

authorizationstringRequired

Token you get from calling /users/login

Body
pageinteger · min: 1Optional

Page number, can be used for pagination

Default: 1Example: 1
itemsinteger · min: 1 · max: 1000Optional

items per page

Default: 10Example: 30
Responses
200

Success response

application/json
post
/returns/filter

Get return

get
Authorizations
authorizationstringRequired
x-api-keystringRequired
Path parameters
eshopReturnIdstringRequired
Header parameters
x-api-keystringRequired

This is the eshop key you receive during onboarding.

authorizationstringRequired

Token you get from calling /users/login

Responses
200

Success response

application/json
get
/returns/{eshopReturnId}

Create return

post
Authorizations
authorizationstringRequired
x-api-keystringRequired
Header parameters
x-api-keystringRequired

This is the eshop key you receive during onboarding.

authorizationstringRequired

Token you get from calling /users/login

Body
eshopReturnIdstringRequiredExample: eshopReturnId
eshopOrderIdstring · min: 1OptionalExample: eshopOrderId
notestringOptional
eshopNotestringOptional

Note from e-shop that is not shown to the customer

descriptionstring · min: 1OptionalExample: Wrong shoe size
shipperstring · min: 1OptionalExample: DHL
trackingNumberstring · min: 1OptionalExample: AB12345
shipperServiceCodestringOptionalExample: DHLEU
orderTypestring · enumRequiredExample: b2cPossible values:
Responses
200

Success response

application/json
post
/returns

Update return

put
Authorizations
authorizationstringRequired
x-api-keystringRequired
Path parameters
eshopReturnIdstringRequired
Header parameters
x-api-keystringRequired

This is the eshop key you receive during onboarding.

authorizationstringRequired

Token you get from calling /users/login

Body
Responses
200

Success response

application/json
put
/returns/{eshopReturnId}

Last updated