Tekra Orders APIv1
Contents

Introduction

Access and authentication

X-TekraClientID
X-TekraAPIKey
Content-Type: application/json

Endpoints

Method URL Description
Production
POSThttps://tekra.bg/api/v1/orders/create
GEThttps://tekra.bg/api/v1/orders/status
Test environment
POSThttps://tekra.bg/api/v1/test/orders/create
GEThttps://tekra.bg/api/v1/test/orders/status

Response format

FieldDescription

HTTP statuses

HTTPDescription

Create an order

POST/api/v1/orders/create

Request fields

FieldRequiredFormatDescription

Successful response

FieldDescription

Quantity above stock (code 2001)

Partially accepted order (code 1013)

Minimum quantity and step

Valid quantities

Fields in the feed

Check order status

GET/api/v1/orders/status?order_number=…

FieldDescription

Order statuses

ValueMeaning

Error codes

CodeHTTPWhen it is returnedWhat to do

Examples

Test environment

Test products

ProductStockmin_qtymultiple_qty
PRODUCT_11011
PRODUCT_2311
PRODUCT_3511
PRODUCT_42005050

Changelog

DateDescription