🚚
Steadfast - Integration
  • Introduction
  • Authentication
  • Order API
  • Order Status API
    • Using Endpoint
    • Using Webhook
  • Stock Quantity API
Powered by GitBook
On this page

Was this helpful?

Authentication

Steadfast API is secured by the API Key authentication mechanism and given below API Key should be passed in HTTP request headers

API Key Name : X-Steadfast-API-Key

API Key Value: A 44 character long API key

If the API key will be missing from HTTP request headers, an authentication error will be returned.

The API key is different for each integration partner. It has already been shared separately.

Order API

POST https://middleware.podapp.com.au/passthrough/customerorder

Headers

Name
Type
Description

X-Steadfast-Api-Key

string

API Key Name that must be passed in request headers

Request Body

Name
Type
Description

string

Please see below.

{
    "Message": "Ok",
    "ResponseMessage": {
        "Success": true,
        "TokenChanged": false,
        "ErrorMessage": "",
        "NewToken": "00000000000000000000000000000000"
    },
    "TotalQueryRows": 0
}
{
    "StatusCode": 401,
    "Message": "Authentication failed. Invalid Api Key."
}
{
    "StatusCode": 401,
    "Message": "No Api Key is provided. Api Key is missing in request headers."
}
{
    "StatusCode": 404,
    "Message": "Endpoint gerardorder Not Found. Api in Not Active."
}
{
    "StatusCode": 404,
    "Message": "Endpoint gerardorder1 Not Found. No Api is configured at gerardorder1."
}
{
    "StatusCode": 500,
    "Message": "There is error while calling Outbound API."
}

1.1 Authentication Pass

If a valid API key is provided, the API will send the correct response.

1.2 Authentication Failure

If there is an issue in authentication, API will send error code with error message.

{
    "StatusCode": 401,
    "Message": "No Api Key is provided. Api Key is missing in request headers."
}
{
    "StatusCode": 401,
    "Message": "Authentication failed. Invalid Api Key."
}
PreviousIntroductionNextOrder API

Last updated 1 year ago

Was this helpful?