This is a html view of the json schema please take the json schema as reference DOWNLOAD THE JSON SCHEMA

Return


Schema representing a return. The source can be a return request originating within Spark or a return created within OpCo back-end systems.

Type: object
No Additional Properties
Example:

{
    "eventHeader": {
        "source": "OPCO",
        "version": "v1"
    },
    "opcoId": "BEL-CEBEO",
    "accountId": "59852",
    "createdDateTime": "2021-07-08T14:17:46.218772Z",
    "status": "EXPECTED",
    "type": "REVERSE_LOGISTICS",
    "opCoReturnLineItemId": "4999569661752721026_1",
    "opCoReturnLineItemReference": "4999569661752721026",
    "opCoOrderIds": [
        "4944452721026"
    ],
    "product": {
        "productId": "49444",
        "productType": "DRUM",
        "additionalInformation": [
            {
                "name": {
                    "fr-BE": "Diameter",
                    "nl-BE": "Diameter"
                },
                "value": {
                    "fr-BE": "1.2 m",
                    "nl-BE": "1.2 m"
                }
            }
        ]
    },
    "expectedReturnQuantity": 2,
    "prices": {
        "type": "CHARGE",
        "netPrice": {
            "amount": 4426,
            "scale": 2,
            "currency": "EUR"
        },
        "totalPrice": {
            "amount": 17130,
            "scale": 2,
            "currency": "EUR"
        },
        "taxes": [
            {
                "type": "VAT",
                "taxAmount": {
                    "amount": 826,
                    "scale": 4,
                    "currency": "EUR"
                },
                "isSurcharge": false
            }
        ]
    },
    "returnDueDate": "2023-04-12"
}

Type: object

This object is used to describe some technical meta information related to the event

No Additional Properties

Type: enum (of string)

The application source of this event

Must be one of:

  • "SPARK"
  • "OPCO"

Type: enum (of string)

The version of the json format event

Must be one of:

  • "v1"
  • "v2"
  • "v3"

Type: string

Tenant identifier for an Opco in SPARK multi-tenant platform


Example:

"BEL-CEBEO"

Type: string

Optional field, needed by OpCo organised with a regional model or commercial organisation. It can be used to filter or route based on the orgId.


Examples:

"org123"
"SNE"

Type: string

The opco account id of the customer.


Examples:

"12345"
"12345_SNE"

Type: enum (of string)

The type of the return.
- REVERSE_LOGISTICS for DRUMS, PALETTES etc.
- PRODUCT for Product returns.

Must be one of:

  • "REVERSE_LOGISTICS"
  • "PRODUCT"

Example:

"REVERSE_LOGISTICS"

Type: object
No Additional Properties

invoiceNumber is required when bill details is INVOICED

Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

creditNoteNumber is required when bill details is CREDITED

Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: enum (of string)

The bill status of the return line item.
- INVOICED when the return line item is invoiced.
- CREDITED when the return is refund to the customer.

Must be one of:

  • "INVOICED"
  • "CREDITED"

Example:

"INVOICED"

Type: string

The invoice number in case this return was invoiced


Example:

"49995696673732721026"

Type: string

The credit note number in case this return was refund to the customer


Example:

"49995696673732721026"

Type: string

The unique ID of the return line item within OpCo.
This will not be displayed to the customer.
SPARK will also send this information if provided by the OpCo as part of 'EXPECTED' return information.


Example:

"4999569661752721026"

Type: string

The reference of the return line item within OpCo.
This field's value will be displayed to the customer.


Example:

"4999569661752"

Type: array of string

The list of Order Ids as generated by the OpCo to which the return is associated

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:


Example:

[
    "49995696673732721026",
    "49995696_ORG1"
]

Type: enum (of string)

The status of the return line item.
- EXPECTED when the line item is an expected return by the OpCo e.g. reverse logistic items.
- REQUESTED when the return is requested by the customer.
- RETURNED when the line item is returned in full by the customer.
- DELETED when the line item is to be deleted

Must be one of:

  • "EXPECTED"
  • "REQUESTED"
  • "RETURNED"
  • "DELETED"
  • "READY_FOR_COLLECTION"
  • "RETURN_COMPLETE"
  • "PARTIAL_RETURN"

Example:

"EXPECTED"

Type: string

The date when the return line item is created. This date/time should not be in future.


Example:

"2022-10-12T08:30:22.804Z"

ReturnProduct

Type: object

Represents the product information contained within the return line item

No Additional Properties

Type: string

Product Id of the product within the return line item


Example:

"999996966175272"

Type: enum (of string)

The type of the product for which return is raised.

Must be one of:

  • "DRUM"
  • "BOX"
  • "PRODUCT"
  • "PALLET"

Example:

"DRUM"

Type: array of object

Any additional information related to the product

No Additional Items

Each item of this array must be:

Type: object

A free key value pair field to add any details about the product

Multilingual Object

Type: object

The name or identifier for the additional information


Example:

{
    "en-GB": "Diameter",
    "fr-FR": "Diamètre"
}

Each additional property must conform to the following schema

Type: string

Multilingual Object

Type: object

The value for the named additional information


Example:

{
    "en-GB": "1.2 m",
    "fr-FR": "1.2 mètre"
}

Each additional property must conform to the following schema

Type: string

Type: integer

Expected return quantity of the item. Only applicable for returns of type REVERSE_LOGISTICS.

Value must be greater or equal to 1


Example:

10

Type: integer

Returned quantity of the item as received by the OpCo

Value must be greater or equal to 1


Example:

10

Prices

Type: object

Contains the detail of prices related to the product and return line item

No Additional Properties

Type: enum (of string)

The type of the price associated with the return.
following type are possible:
- CHARGE represents the price amount that will be charged to the customer if they do not return the logistic items. This will not be applicable for Product returns initiated by the customer.
- REFUND represents the price amount that will be refunded.

Must be one of:

  • "CHARGE"
  • "REFUND"

Price

Type: object

This is the unit price of the product within the line item, without taxes.

No Additional Properties
Example:

{
    "amount": 1000,
    "scale": 2,
    "currency": "EUR"
}

Type: integer

the actual unscaled amount


Example:

205987

Type: integer

the scale to be applied on the unscaled amount


Example:

2

Type: string

the currency code following the ISO 4217 standard 3 letter in which the prices should be displayed


Example:

"EUR"

Price

Type: object

This is the total price of the line item, netPrice x expectedReturnQuantity or netPrice x requestedReturnQuantity

No Additional Properties
Example:

{
    "amount": 2000,
    "scale": 2,
    "currency": "EUR"
}

Type: integer

the actual unscaled amount


Example:

205987

Type: integer

the scale to be applied on the unscaled amount


Example:

2

Type: string

the currency code following the ISO 4217 standard 3 letter in which the prices should be displayed


Example:

"EUR"

Type: array

List of taxes that will be applied to the net price

No Additional Items

Each item of this array must be:

Tax

Type: object

contains the tax information either as a percentage or exact amount. If percentage is sent by the OpCo, then the same percentage value will be displayed to the Customer instead of the tax amount.

Type: object

A tax with a fix amount

Price

Type: object

Represents the amount information for the return line item based on the type of return

No Additional Properties

Type: integer

the actual unscaled amount


Example:

205987

Type: integer

the scale to be applied on the unscaled amount


Example:

2

Type: string

the currency code following the ISO 4217 standard 3 letter in which the prices should be displayed


Example:

"EUR"

Type: string

type of tax which is applicable to the associated net price.


Example:

"VAT"

Type: boolean

This flag determines if the tax is a surcharge to be added to netPrice before applying Tax. The Tax computation happens on top of netPrice + surcharges


Example:

true
Type: object

A tax represented by a percentage.

Type: number

the percentage of the net price


Example:

20.0

Type: string

type of tax which is applicable to the associated net price


Example:

"VAT"

Type: boolean

This flag determines if the tax is a surcharge to be added to netPrice before applying Tax. The Tax computation happens on top of netPrice + surcharges


Example:

true

The following properties are required:

  • type

Example:

[
    {
        "type": "VAT",
        "percentage": 21,
        "isSurcharge": false
    },
    {
        "type": "ECOTAX",
        "taxAmount": {
            "amount": 826,
            "scale": 4,
            "currency": "EUR"
        },
        "isSurcharge": true
    }
]

RequestDetails

Type: object

Contains the details of the return request as provided by the customer

No Additional Properties

Type: string

Unique identifier that represents the return request by the customer


Example:

"ref393828202"

Type: integer

Quantity of the item as provided in the return request by the customer.

Value must be greater or equal to 1


Example:

10

PreferredCollectionDetails

Type: object

Preferred collection details provided by the Customer as part of the return request.
This should be provided by the OpCo if it was included in the return request from SPARK.

No Additional Properties

Type: stringFormat: date

The preferred collection start date by the customer for the return line item. This date should be in future.


Example:

"2023-04-12"

Type: stringFormat: date

The preferred collection end date by the customer for the return line item. This date should be in future and should be equal or greater than the preferred collection start date.


Example:

"2023-04-20"

Type: string

Message provided by the customer during the creation of return request.


Example:

"Product no longer required, pickup from the original delivery address."

Type: string

The date by when the return is due by the customer. Applicable for returns of type REVERSE_LOGISTICS.


Example:

"2023-04-12"
Type: object
No Additional Properties
Example:

{
    "eventHeader": {
        "source": "SPARK",
        "version": "v2"
    },
    "opcoId": "BEL-CEBEO",
    "accountId": "12345",
    "returnLineItems": [
        {
            "type": "PRODUCT",
            "status": "EXPECTED",
            "createdDateTime": "2022-10-12T08:30:22.804Z",
            "product": {
                "productId": "999996966175272",
                "productType": "DRUM",
                "additionalInformation": [
                    {
                        "name": {
                            "en-GB": "Diameter",
                            "fr-FR": "Diamètre"
                        },
                        "value": {
                            "en-GB": "1.2 m",
                            "fr-FR": "1.2 mètre"
                        }
                    }
                ]
            },
            "prices": {
                "type": "CHARGE",
                "netPrice": {
                    "amount": 1000,
                    "scale": 2,
                    "currency": "EUR"
                },
                "totalPrice": {
                    "amount": 2000,
                    "scale": 2,
                    "currency": "EUR"
                },
                "taxes": [
                    {
                        "type": "VAT",
                        "percentage": 21,
                        "isSurcharge": false
                    }
                ]
            }
        },
        {
            "type": "REVERSE_LOGISTICS",
            "status": "REQUESTED",
            "createdDateTime": "2022-10-12T08:30:22.804Z",
            "product": {
                "productId": "999996966175273",
                "productType": "BOX",
                "additionalInformation": [
                    {
                        "name": {
                            "en-GB": "Weight",
                            "fr-FR": "Poids"
                        },
                        "value": {
                            "en-GB": "5 kg",
                            "fr-FR": "5 kilogrammes"
                        }
                    }
                ]
            },
            "prices": {
                "type": "CHARGE",
                "netPrice": {
                    "amount": 500,
                    "scale": 2,
                    "currency": "EUR"
                },
                "totalPrice": {
                    "amount": 1000,
                    "scale": 2,
                    "currency": "EUR"
                },
                "taxes": [
                    {
                        "type": "ECOTAX",
                        "taxAmount": {
                            "amount": 826,
                            "scale": 4,
                            "currency": "EUR"
                        },
                        "isSurcharge": true
                    }
                ]
            }
        }
    ]
}

Type: object

This object is used to describe some technical meta information related to the event

No Additional Properties

Type: enum (of string)

The application source of this event

Must be one of:

  • "SPARK"
  • "OPCO"

Type: enum (of string)

The version of the json format event

Must be one of:

  • "v1"
  • "v2"
  • "v3"

Type: string

Tenant identifier for an Opco in SPARK multi-tenant platform


Example:

"BEL-CEBEO"

Type: string

Optional field, needed by OpCo organised with a regional model or commercial organisation. It can be used to filter or route based on the orgId.


Examples:

"org123"
"SNE"

Type: string

The opco account id of the customer.


Examples:

"12345"
"12345_SNE"

Type: array of object

List of return line items

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: enum (of string)

The type of the return.
- REVERSE_LOGISTICS for DRUMS, PALETTES etc.
- PRODUCT for Product returns.

Must be one of:

  • "REVERSE_LOGISTICS"
  • "PRODUCT"

Example:

"REVERSE_LOGISTICS"

Type: string

The unique ID of the return line item within OpCo.
This will not be displayed to the customer.
SPARK will also send this information if provided by the OpCo as part of 'EXPECTED' return information.


Example:

"4999569661752721026"

ReturnProduct

Type: object

Represents the product information contained within the return line item

No Additional Properties

Type: string

Product Id of the product within the return line item


Example:

"999996966175272"

Type: enum (of string)

The type of the product for which return is raised.

Must be one of:

  • "DRUM"
  • "BOX"
  • "PRODUCT"
  • "PALLET"

Example:

"DRUM"

Type: array of object

Any additional information related to the product

No Additional Items

Each item of this array must be:

Type: object

A free key value pair field to add any details about the product

Multilingual Object

Type: object

The name or identifier for the additional information


Example:

{
    "en-GB": "Diameter",
    "fr-FR": "Diamètre"
}

Each additional property must conform to the following schema

Type: string

Multilingual Object

Type: object

The value for the named additional information


Example:

{
    "en-GB": "1.2 m",
    "fr-FR": "1.2 mètre"
}

Each additional property must conform to the following schema

Type: string

Type: array of string

The list of Order Ids as generated by the OpCo to which the return is associated

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:


Example:

[
    "49995696673732721026",
    "49995696_ORG1"
]

Type: enum (of string)

The status of the return line item.
- EXPECTED when the line item is an expected return by the OpCo e.g. reverse logistic items.
- REQUESTED when the return is requested by the customer.
- RETURNED when the line item is returned in full by the customer.
- DELETED when the line item is to be deleted

Must be one of:

  • "EXPECTED"
  • "REQUESTED"
  • "RETURNED"
  • "DELETED"
  • "READY_FOR_COLLECTION"
  • "RETURN_COMPLETE"
  • "PARTIAL_RETURN"

Example:

"EXPECTED"

Type: string

The date when the return line item is created. This date/time should not be in future.


Example:

"2022-10-12T08:30:22.804Z"

Type: integer

Expected return quantity of the item. Only applicable for returns of type REVERSE_LOGISTICS.

Value must be greater or equal to 1


Example:

10

Type: integer

Returned quantity of the item as received by the OpCo

Value must be greater or equal to 1


Example:

10

Prices

Type: object

Contains the detail of prices related to the product and return line item

No Additional Properties

Type: enum (of string)

The type of the price associated with the return.
following type are possible:
- CHARGE represents the price amount that will be charged to the customer if they do not return the logistic items. This will not be applicable for Product returns initiated by the customer.
- REFUND represents the price amount that will be refunded.

Must be one of:

  • "CHARGE"
  • "REFUND"

Price

Type: object

This is the unit price of the product within the line item, without taxes.

No Additional Properties
Example:

{
    "amount": 1000,
    "scale": 2,
    "currency": "EUR"
}

Type: integer

the actual unscaled amount


Example:

205987

Type: integer

the scale to be applied on the unscaled amount


Example:

2

Type: string

the currency code following the ISO 4217 standard 3 letter in which the prices should be displayed


Example:

"EUR"

Price

Type: object

This is the total price of the line item, netPrice x expectedReturnQuantity or netPrice x requestedReturnQuantity

No Additional Properties
Example:

{
    "amount": 2000,
    "scale": 2,
    "currency": "EUR"
}

Type: integer

the actual unscaled amount


Example:

205987

Type: integer

the scale to be applied on the unscaled amount


Example:

2

Type: string

the currency code following the ISO 4217 standard 3 letter in which the prices should be displayed


Example:

"EUR"

Type: array

List of taxes that will be applied to the net price

No Additional Items

Each item of this array must be:

Tax

Type: object

contains the tax information either as a percentage or exact amount. If percentage is sent by the OpCo, then the same percentage value will be displayed to the Customer instead of the tax amount.

Type: object

A tax with a fix amount

Price

Type: object

Represents the amount information for the return line item based on the type of return

No Additional Properties

Type: integer

the actual unscaled amount


Example:

205987

Type: integer

the scale to be applied on the unscaled amount


Example:

2

Type: string

the currency code following the ISO 4217 standard 3 letter in which the prices should be displayed


Example:

"EUR"

Type: string

type of tax which is applicable to the associated net price.


Example:

"VAT"

Type: boolean

This flag determines if the tax is a surcharge to be added to netPrice before applying Tax. The Tax computation happens on top of netPrice + surcharges


Example:

true
Type: object

A tax represented by a percentage.

Type: number

the percentage of the net price


Example:

20.0

Type: string

type of tax which is applicable to the associated net price


Example:

"VAT"

Type: boolean

This flag determines if the tax is a surcharge to be added to netPrice before applying Tax. The Tax computation happens on top of netPrice + surcharges


Example:

true

The following properties are required:

  • type

Example:

[
    {
        "type": "VAT",
        "percentage": 21,
        "isSurcharge": false
    },
    {
        "type": "ECOTAX",
        "taxAmount": {
            "amount": 826,
            "scale": 4,
            "currency": "EUR"
        },
        "isSurcharge": true
    }
]

RequestDetails

Type: object

Contains the details of the return request as provided by the customer

No Additional Properties

Type: string

Unique identifier that represents the return request by the customer


Example:

"ref393828202"

Type: integer

Quantity of the item as provided in the return request by the customer.

Value must be greater or equal to 1


Example:

10

PreferredCollectionDetails

Type: object

Preferred collection details provided by the Customer as part of the return request.
This should be provided by the OpCo if it was included in the return request from SPARK.

No Additional Properties

Type: stringFormat: date

The preferred collection start date by the customer for the return line item. This date should be in future.


Example:

"2023-04-12"

Type: stringFormat: date

The preferred collection end date by the customer for the return line item. This date should be in future and should be equal or greater than the preferred collection start date.


Example:

"2023-04-20"

Type: string

Message provided by the customer during the creation of return request.


Example:

"Product no longer required, pickup from the original delivery address."

Type: string

The date by when the return is due by the customer. Applicable for returns of type REVERSE_LOGISTICS.


Example:

"2023-04-12"
Type: object
No Additional Properties

Type: object

This object is used to describe some technical meta information related to the event

No Additional Properties

Type: enum (of string)

The application source of this event

Must be one of:

  • "SPARK"
  • "OPCO"

Type: enum (of string)

The version of the json format event

Must be one of:

  • "v1"
  • "v2"
  • "v3"

Type: string

Tenant identifier for an Opco in SPARK multi-tenant platform


Example:

"BEL-CEBEO"

Type: string

Optional field, needed by OpCo organised with a regional model or commercial organisation. It can be used to filter or route based on the orgId.


Examples:

"org123"
"SNE"

Type: string

The opco account id of the customer.


Examples:

"12345"
"12345_SNE"

Type: stringFormat: date

The date when the return was created. This date/time should not be in future.


Example:

"2022-10-12T08:30:22.804Z"

Type: stringFormat: date

The date when the return was last modified. This date/time should not be in future.


Example:

"2022-10-12T08:30:22.804Z"

Type: array

The list of contributors to the return request.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties
Example:

[
    {
        "fullName": "John Smith",
        "email": "john.smith@mycompany.com"
    },
    {
        "fullName": "John Validator",
        "email": "john.validator@mycompany.com"
    }
]

Type: string

The full name of a contributor.

Must be at least 1 characters long


Example:

"John Smith"

Type: stringFormat: email

The email of a contributor. This is the identifier of the user on spark


Example:

"john.smith@mycompany.com"

Type: string

The phone number of a contributor.

Must be at least 1 characters long


Example:

"+1234567890"

Type: boolean Default: false

Indicates if the contributor is the creator of the return request.


Example:

true

Type: string

The unique identifier of the return as generated by the master system.

Must be at least 1 characters long


Example:

"123456789"

Type: string

A referenece id for the return request in the OpCo system.

Must be at least 1 characters long


Example:

"123456789"

Type: string

The return unique identifier as generated by the OpCo system

Must be at least 1 characters long


Example:

"123456789"

Type: object

Contains the logistic details.

No Additional Properties

Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: const
Specific value: "DROP_OFF"
Type: object

The following properties are required:

  • dropOffFacilityId
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: const
Specific value: "PICK_UP"
Type: object

The following properties are required:

  • pickupAddress

Type: enum (of string)

Must be one of:

  • "DROP_OFF"
  • "PICK_UP"

Type: string

The facility id used for drop off.

Must be at least 1 characters long


Example:

"1234567"

Address

Type: object

The address used for pickup.

No Additional Properties

Type: string

OpCo internal system's unique identifier for the address.

Must be at least 1 characters long


Example:

"237564557868778"

Type: string

The first line of the address. Should contain Street name, no, street type. Usually the whole address can fit on one line.

Must be at least 1 characters long


Example:

"235 Donaghy Ave"

Type: string

The second line of the address. Should complete the address with other details (e.g. floor number)

Must be at least 1 characters long


Example:

"1st floor"

Type: string

The third line of the address. Should complete the address with other information. e.g. Apartment no

Must be at least 1 characters long


Example:

"Apt 1"

Type: string

The postal code

Must be at least 1 characters long


Example:

"V7P 1E2"

Type: string

The city in which the street address is, and which is in the adminDevison(region)

Must be at least 1 characters long


Example:

"North Vancouver"

Type: string

The region in which the locality is, and which is in the country.

Must be at least 1 characters long


Example:

"BC"

Type: string

The department in which the locality is, and which is in the country.

Must be at least 1 characters long


Example:

"BC"

Type: string

The ISO 3166-1 alpha-3 of the country

Must be at least 1 characters long


Example:

"CAN"

Type: string

The unique identifier of the return as generated by the master system.

Must be at least 1 characters long


Example:

"123456789"

ContactInfo

Type: object

Contact information of the facility.

No Additional Properties

Type: string

Phone number of the contact.

Must be at least 1 characters long


Example:

"+12345678910"

Type: stringFormat: email

The email of the contact. This is the identifier of the user on spark


Example:

"user@domain.com"

Type: string

The fax number of the contact.

Must be at least 1 characters long


Example:

"+12345678910"

Type: array

List of return request line items

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object

The line of the return request.

No Additional Properties

Type: string

The unique identifier of the sales order.

Must be at least 1 characters long


Example:

"1234567"

Type: string

The unique identifier of the sales order line.

Must be at least 1 characters long


Example:

"1234567"

Type: string

The unique identifier of the billing.

Must be at least 1 characters long


Example:

"1234567"

Type: string

The unique identifier of the billing line.

Must be at least 1 characters long


Example:

"1234567"

Type: object

The product subject to this request.

No Additional Properties

Type: string

The unique identifier of the product.

Must be at least 1 characters long


Example:

"1234567"

Type: string

The name of the product.

Must be at least 1 characters long


Example:

"Product Name"

Type: string

The name of the brand.

Must be at least 1 characters long


Example:

"Brand Name"

Type: array

The list of images of the product.

No Additional Items

Each item of this array must be:

Type: object

The image of the product.

No Additional Properties

Type: string

The name of the image.

Must be at least 1 characters long


Example:

"Image Name"

Type: stringFormat: uri

The URL of the image.


Example:

"https://example.com/image.jpg"

Type: string

A comment related to the product.

Must be at least 1 characters long


Example:

"Product Comment"

Type: enum (of string)

From the list of reasons configured for the OpCo.

Must be one of:

  • "RECEIVED_INCOMPLETE_PACK"
  • "DELIVERED_TO_WRONG_LOCATION"
  • "RECEIVED_MORE_THAN_ORDERED"
  • "ORDERED_MORE_THAN_NEEDED"
  • "RETURN_SAMPLES"
  • "RECYCLING_RETURN"
  • "DELIVERED_AT_WRONG_TIME"

Example:

"RECEIVED_INCOMPLETE_PACK"

Type: array of object

Any additional information related to the product

No Additional Items

Each item of this array must be:

Type: object

A free key value pair field to add any details about the product

Multilingual Object

Type: object

The name or identifier for the additional information


Example:

{
    "en-GB": "Diameter",
    "fr-FR": "Diamètre"
}

Multilingual Object

Type: object

The value for the named additional information


Example:

{
    "en-GB": "1.2 m",
    "fr-FR": "1.2 mètre"
}

Type: array of object

The list of notes related to the return request line.

No Additional Items

Each item of this array must be:

Type: object

Type: enum (of string)

The severity of the note.

Must be one of:

  • "INFO"
  • "WARNING"
  • "ERROR"

Example:

"INFO"

Multilingual Object

Type: object

The message of the note.


Example:

{
    "fr-BE": "Ceci est un message.",
    "nl-BE": "Dit is een bericht."
}

Each additional property must conform to the following schema

Type: string

Type: enum (of string)

The status of the return line item.
- EXPECTED when the line item is an expected return by the OpCo e.g. reverse logistic items.
- REQUESTED when the return is requested by the customer.
- RETURNED when the line item is returned in full by the customer.
- DELETED when the line item is to be deleted

Must be one of:

  • "EXPECTED"
  • "REQUESTED"
  • "RETURNED"
  • "DELETED"
  • "READY_FOR_COLLECTION"
  • "RETURN_COMPLETE"
  • "PARTIAL_RETURN"

Example:

"EXPECTED"

Type: integer

The quantity of the product returned by the customer.

Value must be greater or equal to 0


Example:

10

Type: object
No Additional Properties

Type: enum (of string)

The type of the price associated with the return.
following type are possible:
- CHARGE represents the price amount that will be charged to the customer if they do not return the logistic items. This will not be applicable for Product returns initiated by the customer.
- REFUND represents the price amount that will be refunded.

Must be one of:

  • "CHARGE"
  • "REFUND"

Price

Type: object

This is the unit price of the product within the line item, without taxes.

No Additional Properties

Type: integer

the actual unscaled amount


Example:

205987

Type: integer

the scale to be applied on the unscaled amount


Example:

2

Type: string

the currency code following the ISO 4217 standard 3 letter in which the prices should be displayed


Example:

"EUR"

Price

Type: object

This is the total price of the line item, netPrice x expectedReturnQuantity or netPrice x requestedReturnQuantity

No Additional Properties

Type: integer

the actual unscaled amount


Example:

205987

Type: integer

the scale to be applied on the unscaled amount


Example:

2

Type: string

the currency code following the ISO 4217 standard 3 letter in which the prices should be displayed


Example:

"EUR"

Type: array

List of taxes that will be applied to the net price

No Additional Items

Each item of this array must be:

Tax

Type: object

contains the tax information either as a percentage or exact amount. If percentage is sent by the OpCo, then the same percentage value will be displayed to the Customer instead of the tax amount.

Type: object

A tax with a fix amount

Price

Type: object

Represents the amount information for the return line item based on the type of return

No Additional Properties

Type: integer

the actual unscaled amount


Example:

205987

Type: integer

the scale to be applied on the unscaled amount


Example:

2

Type: string

the currency code following the ISO 4217 standard 3 letter in which the prices should be displayed


Example:

"EUR"

Type: string

type of tax which is applicable to the associated net price.


Example:

"VAT"

Type: boolean

This flag determines if the tax is a surcharge to be added to netPrice before applying Tax. The Tax computation happens on top of netPrice + surcharges


Example:

true
Type: object

A tax represented by a percentage.

Type: number

the percentage of the net price


Example:

20.0

Type: string

type of tax which is applicable to the associated net price


Example:

"VAT"

Type: boolean

This flag determines if the tax is a surcharge to be added to netPrice before applying Tax. The Tax computation happens on top of netPrice + surcharges


Example:

true

The following properties are required:

  • type

Example:

[
    {
        "type": "VAT",
        "percentage": 21,
        "isSurcharge": false
    },
    {
        "type": "ECOTAX",
        "taxAmount": {
            "amount": 826,
            "scale": 4,
            "currency": "EUR"
        },
        "isSurcharge": true
    }
]

Type: array

List of fees that mught apply (e.g. handling fee)

No Additional Items

Each item of this array must be:

Price

Type: object

Represents the amount information for the return line item based on the type of return

No Additional Properties

Type: integer

the actual unscaled amount


Example:

205987

Type: integer

the scale to be applied on the unscaled amount


Example:

2

Type: string

the currency code following the ISO 4217 standard 3 letter in which the prices should be displayed


Example:

"EUR"

Type: string

The unique identifier of the shipment associated with the return line item.

Must be at least 1 characters long


Example:

"1234567"

SalesRepresentative

Type: object

The sales representative information.

No Additional Properties

Type: string

firstname of the sale representative

Must be at least 1 characters long


Example:

"John"

Type: string

lastname of the sale representative

Must be at least 1 characters long


Example:

"Doe"

Type: string

phone number of the sale representative

Must be at least 1 characters long


Example:

"0683906389"

Type: string

email of the sale representative

Must be at least 1 characters long


Example:

"john.doe@standelec.com"