Heads up, our devs are blazing ahead—docs are catching up, so some features might not be fully documented yet.

RMA Order

RMA-Order

List all RMA orders for tenant

get
/tenants/{tenantUid}/rma-orders

List all RMA orders for tenant

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
rmaOrderStoreUidstringOptional

Reference to a storeUid

rmaOrderSupplierUidstringOptional

Reference to a supplierUid

rmaOrderFromDatestring · dateOptional

Reference to a date

rmaOrderToDatestring · dateOptional

Reference to a date

Responses
200

Example response

application/json
get
/tenants/{tenantUid}/rma-orders
200

Example response

Create new RMA order

post
/tenants/{tenantUid}/rma-orders

Create new RMA request

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
storeUidstringRequiredPattern: ^[A-Za-z0-9-_]+
supplierUidstringRequiredPattern: ^[A-Za-z0-9-_]+
notestringOptional
originalPurchaseNumberstringOptional
supplierReferencestringOptional
ourReferencestringOptional
reasonstringOptional
rmaOrderUidstringOptionalPattern: ^[A-Za-z0-9-_]+
Responses
post
/tenants/{tenantUid}/rma-orders
201

Example response

Get RMA order details

get
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}

Get RMA order details

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
rmaOrderUidstringRequired

Reference to a rmaOrderUid

Pattern: ^[A-Za-z0-9-_]+
Responses
200

Example response

application/json
get
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}
200

Example response

Update RMA order details

put
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}

Update RMA order details

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
rmaOrderUidstringRequired

Reference to a rmaOrderUid

Pattern: ^[A-Za-z0-9-_]+
Body
notestringOptional
originalPurchaseNumberstringOptional
supplierReferencestringOptional
ourReferencestringOptional
reasonstringOptional
statusstring · enumOptional
ENUM Description
NEW RMA Order is created
WAITING_FOR_APPROVAL RMA Order request is sent to supplier and awaiting approval
DECLINED_BY_SUPPLIER RMA Order request have been declined by supplier
SENT_TO_SUPPLIER Items have been physically sent back to supplier
Possible values:
Responses
200

Example response

application/json
put
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}
200

Example response

Delete RMA order

delete
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}

Delete RMA order

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
rmaOrderUidstringRequired

Reference to a rmaOrderUid

Pattern: ^[A-Za-z0-9-_]+
Responses
delete
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}
204

Example response

Create new item on a RMA order

post
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}/items

Create new item on a RMA order

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
rmaOrderUidstringRequired

Reference to a rmaOrderUid

Pattern: ^[A-Za-z0-9-_]+
Body
requestedQuantityintegerRequired
requestedUnitPriceintegerRequired
productUidstringRequiredPattern: ^[A-Za-z0-9-_]+
serialNumberstringOptional
notestringOptional
warehouseUidstringOptionalPattern: ^[A-Za-z0-9-_]+
rmaOrderItemUidstringOptionalPattern: ^[A-Za-z0-9-_]+
Responses
post
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}/items
201

Example response

Update RMA order item details

put
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}/items/{rmaOrderItemUid}

Update RMA order item details

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
rmaOrderUidstringRequired

Reference to a rmaOrderUid

Pattern: ^[A-Za-z0-9-_]+
rmaOrderItemUidstringRequired

Reference to a rmaOrderItemUid

Pattern: ^[A-Za-z0-9-_]+
Body
requestedQuantityintegerOptional
requestedUnitPriceintegerOptional
serialNumberstringOptional
notestringOptional
warehouseUidstringOptionalPattern: ^[A-Za-z0-9-_]*
Responses
put
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}/items/{rmaOrderItemUid}
201

Example response

Delete RMA order item

delete
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}/items/{rmaOrderItemUid}

Delete RMA order item

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
rmaOrderUidstringRequired

Reference to a rmaOrderUid

Pattern: ^[A-Za-z0-9-_]+
rmaOrderItemUidstringRequired

Reference to a rmaOrderItemUid

Pattern: ^[A-Za-z0-9-_]+
Responses
delete
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}/items/{rmaOrderItemUid}
204

No Content

No content

download RMA order

post
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}/download

Download RMA order

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
rmaOrderUidstringRequired

Reference to a rmaOrderUid

Pattern: ^[A-Za-z0-9-_]+
Responses
200

Based on the Accept header the response will be base64 json encoded or a raw file. application/octet-stream will return a binary file application/json will return a json with the file content base64 encoded.

post
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}/download

Finalize RMA order. Stock will be adjusted

post
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}/complete

Finalize RMA order. Stock will be adjusted

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
rmaOrderUidstringRequired

Reference to a rmaOrderUid

Pattern: ^[A-Za-z0-9-_]+
Responses
200

PDF file

application/pdf
Responsestring · binary
post
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}/complete
200

PDF file

Send email to supplier

post
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}/email

Send RMA order request to supplier by email

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
rmaOrderUidstringRequired

Reference to a rmaOrderUid

Pattern: ^[A-Za-z0-9-_]+
Body
recepientsstring[]Required
subjectstringOptional
bodystringOptional
includePDFbooleanOptionalDefault: true
Responses
200

Based on the Accept header the response will be base64 json encoded or a raw file. application/octet-stream will return a binary file application/json will return a json with the file content base64 encoded.

post
/tenants/{tenantUid}/rma-orders/{rmaOrderUid}/email

Last updated

Was this helpful?