Seller to Fast API (V1)

Download OpenAPI specification:Download

Authentication

ApiKeyAuth

Security Scheme Type API Key
Header parameter name: FASTSESSION

Seller to Fast API

Seller to Fast API

Order Management Service

Get Order by Fast id

Get Order by Fast id

Request
path Parameters
order_id.value
required
string

UUID value

Responses
200

A successful response.

default

An unexpected error response.

get/v1/external/orders/{order_id.value}
Request samples
curl -i -X GET \
  'https://api.fast.co/v1/external/orders/{order_id.value}'
Response samples
application/json
{
  • "order": {
    }
}

Cancel Order by Fast id

Cancel Order by Fast id

Request
path Parameters
order_id.value
required
string

UUID value

Request Body schema: application/json
object (v1UUID)
reason
string (v1CancelReasonCode)
Enum: "CANCEL_REASON_CODE_CUSTOMER_INITIATED" "CANCEL_REASON_CODE_MERCHANT_INITIATED" "CANCEL_REASON_CODE_NO_STOCK" "CANCEL_REASON_CODE_BAD_CONFIG" "CANCEL_REASON_CODE_OTHER"
notes
string

Any additional notes associated with the cancellation.

Responses
200

A successful response.

default

An unexpected error response.

post/v1/external/orders/{order_id.value}
Request samples
application/json
{
  • "order_id": {
    },
  • "reason": "CANCEL_REASON_CODE_CUSTOMER_INITIATED",
  • "notes": "string"
}
Response samples
application/json
{ }

Send a business event

Inform Fast regarding a order related business event that happened

Request
path Parameters
order_id.value
required
string

UUID value

Request Body schema: application/json
object (v1UUID)
event_type
string (v1BusinessEventType)
Enum: "BUSINESS_EVENT_TYPE_FULFILLMENT" "BUSINESS_EVENT_TYPE_CLEAR_TO_COLLECT_PAYMENT"
object (v1OrderFulfillmentEvent)
Responses
200

A successful response.

default

An unexpected error response.

post/v1/external/orders/{order_id.value}/business_event
Request samples
application/json
{
  • "order_id": {
    },
  • "event_type": "BUSINESS_EVENT_TYPE_FULFILLMENT",
  • "fulfillment": {
    }
}
Response samples
application/json
{ }

Refund by Order id

Refund by Order id

Request
path Parameters
order_id.value
required
string

UUID value

Request Body schema: application/json
object (v1UUID)
external_refund_id
string

Id provided by the seller to tie back the refund on their end. Should be unique for each refund.

reason
string (v1RefundReasonCode)
Enum: "REFUND_REASON_CODE_UNSATISFIED" "REFUND_REASON_CODE_WRONG_OPTION" "REFUND_REASON_CODE_WRONG_PRODUCT" "REFUND_REASON_CODE_DAMAGED_PRODUCT" "REFUND_REASON_CODE_NOT_DELIVERED" "REFUND_REASON_CODE_WRONG_TAX" "REFUND_REASON_CODE_WRONG_SHIPPING" "REFUND_REASON_CODE_OVERCHARGE" "REFUND_REASON_CODE_COURTESY" "REFUND_REASON_CODE_OTHER"
note
string
method
string (v1RefundMethod)
Enum: "REFUND_METHOD_STORE_CREDIT" "REFUND_METHOD_ORIGINAL_METHOD"
amount
string

Should be a float value. Ex: "42.00"

tax_amount
string

Should be a float value. Ex: "42.00"

shipping_amount
string

Should be a float value. Ex: "42.00"

Array of objects (v1RefundOrderLineContext)
Responses
200

A successful response.

default

An unexpected error response.

post/v1/external/orders/{order_id.value}/refund
Request samples
application/json
{
  • "order_id": {
    },
  • "external_refund_id": "string",
  • "reason": "REFUND_REASON_CODE_UNSATISFIED",
  • "note": "string",
  • "method": "REFUND_METHOD_STORE_CREDIT",
  • "amount": "string",
  • "tax_amount": "string",
  • "shipping_amount": "string",
  • "order_lines": [
    ]
}
Response samples
application/json
{ }