Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The access key will be provided by Seko

  • Please ensure that the key is not hardcoded into the header

  • Retailer name will be provided by Seko

Parameters of API

Parameter

Mandatory

Type

Description

ConsignmentNo

Y

Varchar

Order consignment number

OrderNumber

Y

Varchar

Order number

Sku

Y

Varchar

Product sku code

EAN

Y

Varchar

Product sku code

Reason

Y

Varchar

Product return reason

ReturnAction

Y

Varchar

Return Action e.g. REFUND, CREDIT NOTE, CREDIT NOTE PLUS

CommodityInfo

Y

Varchar

Commodity description

CommodityCode

Y

Varchar

HS Code used for customs clearance

ItemWeight

Y

Float

Item weight

OrderWeight

If Item weight is available, then not mandatory.

Float

Order weight

ItemDescription

Y

Varchar

Item description

ItemValue

Y

Varchar

Product price

CustomerName

Y

Varchar

Customer name

CustomerEmail

Y

Varchar

Customer email

RMA

Y

Varchar

RMA number

CHTComment

N

Varchar

CHT comment on return. Customer Service comment if any.

SubRetailer

N

Text

Name of the Subretailer if any. For example, there will be main retailer setup and under which other sub retailers will be added.

Building

N

Varchar

Sub Retailer’s Building name

Street

N

Varchar

Sub Retailer’s Street name

Suburb

N

Varchar

Sub Retailer’s Suburb/City name

State

N

Varchar

Sub Retailer’s State name

PostCode

N

Varchar

Sub Retailer’s PostCode name

Country

N

Varchar

Sub Retailer’s Country name. Format should be like Australia-AU, New Zealand- NZ, United Kingdom-UK, United States-US, Canada-CA

API Request

Note

Requires Authentication

  • A valid access token must be provided in token request header. Token will be provided by RPS on request to use the API.

  • A valid retailer must be provided in request header. Retailer Name will be provided by RPS on request to use the API.

...

Code Block
[
    {
    "ConsignmentNo": "TK100342334NZ",
    "OrderNumber": "100557326",
    "Sku": "S001849-GreyCheck-12-L",
    "EAN": "00704386972851",
    "Reason": "NOT SATISFIED",
    "ReturnAction": "CREDIT NOTE",
    "ItemValue": "45.41",
    "CommodityInfo": "APPAREL",
    "CommodityCode": "TESTHSCODE",
    "OrderWeight": "0.4",
    "ItemWeight": "0.4",
    "ItemDescription": "Thoughts Of You skirt in grey check",
    "CustomerName": "Olivia Pua",
    "CustomerEmail": "olivia@test.com",
    "RMA": "400047877",
    "CHTComment": "Test comment",
    "SubRetailer": "Subretailer1",
    "Building": "Company Name1",
    "Street": "Street 1",
    "Suburb": "ALEXANDRIA",
    "State": "New South Wales",
    "PostCode": "2015",
    "Country": " Australia-AU"
    },
    {
    "ConsignmentNo": "TK100342303NZ",
    "OrderNumber": "100614699",
    "Sku": "FHW1352-Wine-12(L)",
    "EAN": "00704386973339",
    "Reason": "FAULTY",
    "ReturnAction": "REFUND",
    "ItemValue": "36.50",
    "CommodityInfo": "APPAREL",
    "CommodityCode": "TESTHSCODE2",
    "OrderWeight": "1",
    "ItemWeight": "0.5 ",
    "ItemDescription": "Up and Out Skirt in wine",
    "CustomerName": "Sheena Vaswani",
    "CustomerEmail": "sheena@test.com",
    "RMA": "400047572",
    "CHTComment": "Test comment",
    "SubRetailer": " Subretailer2",
    "Building": "Company Name2",
    "Street": "Test Street",
    "Suburb": "ALEXANDRIA",
    "State": "New South Wales",
    "PostCode": "2015",
    "Country": " Australia-AU"
    }
]

...