POST
/
openapi
/
v1
/
Products
/
BulkUpsert
Bulk Add or Update Product.
curl --request POST \
  --url https://api.oplog.one/openapi/v1/Products/BulkUpsert \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json-patch+json' \
  --data '[
  {
    "sku": "<string>",
    "imageUrl": "<string>",
    "name": "<string>",
    "barcodes": [
      "<string>"
    ],
    "type": "Product",
    "category": "<string>",
    "price": 123,
    "salePrice": 123,
    "currency": "TRY",
    "taxRatio": 123,
    "salesUrl": "<string>",
    "tag": "<string>",
    "width": 123,
    "length": 123,
    "height": 123,
    "weight": 123,
    "unitOfDimension": "Cm",
    "unitOfWeight": "Kg",
    "integrationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
]'

Authorizations

Authorization
string
header
required

Headers

X-Tenant-Id
string

If you want to emulate, please enter TenantId.

Body

sku
string
required
imageUrl
string
required
name
string
required
type
enum<string>
required
Available options:
Product,
Bundle
category
string
required
salesUrl
string
required
tag
string
required
barcodes
string[]
price
number
salePrice
number
currency
enum<string>
Available options:
TRY,
USD,
EUR,
GBP,
RUB,
UAH,
UNSUPPORTED,
AFN,
ALL,
AOA,
ARS,
AMD,
AWG,
AZN,
BSD,
BHD,
BDT,
BBD,
BYN,
BZD,
BMD,
BTN,
BOB,
BAM,
BWP,
BRL,
BGN,
BIF,
KHR,
CAD,
CVE,
KYD,
CLP,
CNY,
COP,
KMF,
CDF,
CRC,
HRK,
CUP,
CZK,
DJF,
DOP,
EGP,
ERN,
SZL,
ETB,
FKP,
FJD,
XAF,
GMD,
GEL,
GHS,
GIP,
DKK,
GTQ,
GNF,
GYD,
HTG,
HNL,
HUF,
ISK,
INR,
IDR,
IRR,
IQD,
JMD,
JPY,
KZT,
KES,
KPW,
KRW,
KWD,
KGS,
LAK,
LBP,
LSL,
LRD,
LYD,
MOP,
HKD,
MGA,
MWK,
MYR,
MVR,
MUR,
MXN,
MDL,
MNT,
MZN,
MMK,
NAD,
NPR,
NIO,
NGN,
MKD,
NOK,
OMR,
PKR,
ILS,
JOD,
PAB,
PGK,
PYG,
PEN,
PHP,
NZD,
PLN,
QAR,
RON,
RWF,
DZD,
MRU,
MAD,
SHP,
XCD,
WST,
STN,
SAR,
RSD,
SCR,
SLL,
SGD,
BND,
ANG,
SBD,
SOS,
ZAR,
SSP,
LKR,
SDG,
SRD,
SEK,
CHF,
SYP,
TWD,
TJS,
TZS,
THB,
XOF,
TOP,
TTD,
TND,
TMT,
AUD,
UGX,
AED,
UYU,
UZS,
VUV,
VES,
VED,
VND,
XPF,
YER,
ZMW
taxRatio
number
width
number
length
number
height
number
weight
number
unitOfDimension
enum<string>
Available options:
Cm,
In,
Ft
unitOfWeight
enum<string>
Available options:
Kg,
Lb,
G,
Oz
integrationId
string<uuid>

Response

200

Success