批次匯入訂單
curl --request POST \
--url https://api.zangsho.com/v1/orders/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"orders": [
{
"order_no": "ORD-001",
"amount": "990.00",
"status": "paid",
"customer_email": "user1@example.com",
"currency": "TWD",
"payment_method": "credit_card",
"billing_cycle": "monthly",
"paid_at": "2026-01-01T00:00:00Z"
},
{
"order_no": "ORD-002",
"amount": "1990.00",
"status": "paid",
"customer_email": "user2@example.com",
"currency": "TWD",
"payment_method": "atm",
"billing_cycle": "yearly",
"paid_at": "2026-01-05T10:30:00Z"
},
{
"order_no": "ORD-003",
"amount": "599.00",
"status": "paid",
"customer_email": "user3@example.com",
"currency": "TWD",
"payment_method": "line_pay",
"billing_cycle": "monthly",
"paid_at": "2026-01-10T08:00:00Z"
},
{
"order_no": "ORD-004",
"amount": "3500.00",
"status": "paid",
"customer_email": "user4@example.com",
"currency": "TWD",
"payment_method": "cvs",
"billing_cycle": "one-time",
"paid_at": "2026-01-12T16:45:00Z"
}
]
}
'import requests
url = "https://api.zangsho.com/v1/orders/batch"
payload = { "orders": [
{
"order_no": "ORD-001",
"amount": "990.00",
"status": "paid",
"customer_email": "user1@example.com",
"currency": "TWD",
"payment_method": "credit_card",
"billing_cycle": "monthly",
"paid_at": "2026-01-01T00:00:00Z"
},
{
"order_no": "ORD-002",
"amount": "1990.00",
"status": "paid",
"customer_email": "user2@example.com",
"currency": "TWD",
"payment_method": "atm",
"billing_cycle": "yearly",
"paid_at": "2026-01-05T10:30:00Z"
},
{
"order_no": "ORD-003",
"amount": "599.00",
"status": "paid",
"customer_email": "user3@example.com",
"currency": "TWD",
"payment_method": "line_pay",
"billing_cycle": "monthly",
"paid_at": "2026-01-10T08:00:00Z"
},
{
"order_no": "ORD-004",
"amount": "3500.00",
"status": "paid",
"customer_email": "user4@example.com",
"currency": "TWD",
"payment_method": "cvs",
"billing_cycle": "one-time",
"paid_at": "2026-01-12T16:45:00Z"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
orders: [
{
order_no: 'ORD-001',
amount: '990.00',
status: 'paid',
customer_email: 'user1@example.com',
currency: 'TWD',
payment_method: 'credit_card',
billing_cycle: 'monthly',
paid_at: '2026-01-01T00:00:00Z'
},
{
order_no: 'ORD-002',
amount: '1990.00',
status: 'paid',
customer_email: 'user2@example.com',
currency: 'TWD',
payment_method: 'atm',
billing_cycle: 'yearly',
paid_at: '2026-01-05T10:30:00Z'
},
{
order_no: 'ORD-003',
amount: '599.00',
status: 'paid',
customer_email: 'user3@example.com',
currency: 'TWD',
payment_method: 'line_pay',
billing_cycle: 'monthly',
paid_at: '2026-01-10T08:00:00Z'
},
{
order_no: 'ORD-004',
amount: '3500.00',
status: 'paid',
customer_email: 'user4@example.com',
currency: 'TWD',
payment_method: 'cvs',
billing_cycle: 'one-time',
paid_at: '2026-01-12T16:45:00Z'
}
]
})
};
fetch('https://api.zangsho.com/v1/orders/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zangsho.com/v1/orders/batch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'orders' => [
[
'order_no' => 'ORD-001',
'amount' => '990.00',
'status' => 'paid',
'customer_email' => 'user1@example.com',
'currency' => 'TWD',
'payment_method' => 'credit_card',
'billing_cycle' => 'monthly',
'paid_at' => '2026-01-01T00:00:00Z'
],
[
'order_no' => 'ORD-002',
'amount' => '1990.00',
'status' => 'paid',
'customer_email' => 'user2@example.com',
'currency' => 'TWD',
'payment_method' => 'atm',
'billing_cycle' => 'yearly',
'paid_at' => '2026-01-05T10:30:00Z'
],
[
'order_no' => 'ORD-003',
'amount' => '599.00',
'status' => 'paid',
'customer_email' => 'user3@example.com',
'currency' => 'TWD',
'payment_method' => 'line_pay',
'billing_cycle' => 'monthly',
'paid_at' => '2026-01-10T08:00:00Z'
],
[
'order_no' => 'ORD-004',
'amount' => '3500.00',
'status' => 'paid',
'customer_email' => 'user4@example.com',
'currency' => 'TWD',
'payment_method' => 'cvs',
'billing_cycle' => 'one-time',
'paid_at' => '2026-01-12T16:45:00Z'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zangsho.com/v1/orders/batch"
payload := strings.NewReader("{\n \"orders\": [\n {\n \"order_no\": \"ORD-001\",\n \"amount\": \"990.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user1@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"credit_card\",\n \"billing_cycle\": \"monthly\",\n \"paid_at\": \"2026-01-01T00:00:00Z\"\n },\n {\n \"order_no\": \"ORD-002\",\n \"amount\": \"1990.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user2@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"atm\",\n \"billing_cycle\": \"yearly\",\n \"paid_at\": \"2026-01-05T10:30:00Z\"\n },\n {\n \"order_no\": \"ORD-003\",\n \"amount\": \"599.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user3@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"line_pay\",\n \"billing_cycle\": \"monthly\",\n \"paid_at\": \"2026-01-10T08:00:00Z\"\n },\n {\n \"order_no\": \"ORD-004\",\n \"amount\": \"3500.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user4@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"cvs\",\n \"billing_cycle\": \"one-time\",\n \"paid_at\": \"2026-01-12T16:45:00Z\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.zangsho.com/v1/orders/batch")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"orders\": [\n {\n \"order_no\": \"ORD-001\",\n \"amount\": \"990.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user1@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"credit_card\",\n \"billing_cycle\": \"monthly\",\n \"paid_at\": \"2026-01-01T00:00:00Z\"\n },\n {\n \"order_no\": \"ORD-002\",\n \"amount\": \"1990.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user2@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"atm\",\n \"billing_cycle\": \"yearly\",\n \"paid_at\": \"2026-01-05T10:30:00Z\"\n },\n {\n \"order_no\": \"ORD-003\",\n \"amount\": \"599.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user3@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"line_pay\",\n \"billing_cycle\": \"monthly\",\n \"paid_at\": \"2026-01-10T08:00:00Z\"\n },\n {\n \"order_no\": \"ORD-004\",\n \"amount\": \"3500.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user4@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"cvs\",\n \"billing_cycle\": \"one-time\",\n \"paid_at\": \"2026-01-12T16:45:00Z\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zangsho.com/v1/orders/batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"orders\": [\n {\n \"order_no\": \"ORD-001\",\n \"amount\": \"990.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user1@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"credit_card\",\n \"billing_cycle\": \"monthly\",\n \"paid_at\": \"2026-01-01T00:00:00Z\"\n },\n {\n \"order_no\": \"ORD-002\",\n \"amount\": \"1990.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user2@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"atm\",\n \"billing_cycle\": \"yearly\",\n \"paid_at\": \"2026-01-05T10:30:00Z\"\n },\n {\n \"order_no\": \"ORD-003\",\n \"amount\": \"599.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user3@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"line_pay\",\n \"billing_cycle\": \"monthly\",\n \"paid_at\": \"2026-01-10T08:00:00Z\"\n },\n {\n \"order_no\": \"ORD-004\",\n \"amount\": \"3500.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user4@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"cvs\",\n \"billing_cycle\": \"one-time\",\n \"paid_at\": \"2026-01-12T16:45:00Z\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"total": 123,
"created": 123,
"updated": 123,
"skipped": 123,
"failed": 123,
"results": {
"created": [
{
"index": 123,
"id": 123,
"identifier": "<string>"
}
],
"updated": [
{
"index": 123,
"id": 123,
"identifier": "<string>"
}
],
"skipped": [
{
"index": 123,
"reason": "duplicate_email",
"identifier": "<string>"
}
],
"failed": [
{
"index": 123,
"reason": "validation_error",
"message": "<string>",
"identifier": "<string>"
}
]
}
}
}{
"message": "Unauthenticated."
}{
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required.",
"The email must be a valid email address."
]
}
}訂單 Orders
批次匯入訂單
批次建立多筆訂單,適合匯入歷史資料。
⚠️ 重要提醒
- 批次匯入不會觸發 Webhook 事件
- 如需觸發 Webhook,請使用單筆建立訂單 API
限制
- 每次請求最多 100 筆
- 採用部分成功策略
冪等處理
order_no已存在時,只更新非空欄位- 不會覆蓋現有值,而是累積更新
POST
/
orders
/
batch
批次匯入訂單
curl --request POST \
--url https://api.zangsho.com/v1/orders/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"orders": [
{
"order_no": "ORD-001",
"amount": "990.00",
"status": "paid",
"customer_email": "user1@example.com",
"currency": "TWD",
"payment_method": "credit_card",
"billing_cycle": "monthly",
"paid_at": "2026-01-01T00:00:00Z"
},
{
"order_no": "ORD-002",
"amount": "1990.00",
"status": "paid",
"customer_email": "user2@example.com",
"currency": "TWD",
"payment_method": "atm",
"billing_cycle": "yearly",
"paid_at": "2026-01-05T10:30:00Z"
},
{
"order_no": "ORD-003",
"amount": "599.00",
"status": "paid",
"customer_email": "user3@example.com",
"currency": "TWD",
"payment_method": "line_pay",
"billing_cycle": "monthly",
"paid_at": "2026-01-10T08:00:00Z"
},
{
"order_no": "ORD-004",
"amount": "3500.00",
"status": "paid",
"customer_email": "user4@example.com",
"currency": "TWD",
"payment_method": "cvs",
"billing_cycle": "one-time",
"paid_at": "2026-01-12T16:45:00Z"
}
]
}
'import requests
url = "https://api.zangsho.com/v1/orders/batch"
payload = { "orders": [
{
"order_no": "ORD-001",
"amount": "990.00",
"status": "paid",
"customer_email": "user1@example.com",
"currency": "TWD",
"payment_method": "credit_card",
"billing_cycle": "monthly",
"paid_at": "2026-01-01T00:00:00Z"
},
{
"order_no": "ORD-002",
"amount": "1990.00",
"status": "paid",
"customer_email": "user2@example.com",
"currency": "TWD",
"payment_method": "atm",
"billing_cycle": "yearly",
"paid_at": "2026-01-05T10:30:00Z"
},
{
"order_no": "ORD-003",
"amount": "599.00",
"status": "paid",
"customer_email": "user3@example.com",
"currency": "TWD",
"payment_method": "line_pay",
"billing_cycle": "monthly",
"paid_at": "2026-01-10T08:00:00Z"
},
{
"order_no": "ORD-004",
"amount": "3500.00",
"status": "paid",
"customer_email": "user4@example.com",
"currency": "TWD",
"payment_method": "cvs",
"billing_cycle": "one-time",
"paid_at": "2026-01-12T16:45:00Z"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
orders: [
{
order_no: 'ORD-001',
amount: '990.00',
status: 'paid',
customer_email: 'user1@example.com',
currency: 'TWD',
payment_method: 'credit_card',
billing_cycle: 'monthly',
paid_at: '2026-01-01T00:00:00Z'
},
{
order_no: 'ORD-002',
amount: '1990.00',
status: 'paid',
customer_email: 'user2@example.com',
currency: 'TWD',
payment_method: 'atm',
billing_cycle: 'yearly',
paid_at: '2026-01-05T10:30:00Z'
},
{
order_no: 'ORD-003',
amount: '599.00',
status: 'paid',
customer_email: 'user3@example.com',
currency: 'TWD',
payment_method: 'line_pay',
billing_cycle: 'monthly',
paid_at: '2026-01-10T08:00:00Z'
},
{
order_no: 'ORD-004',
amount: '3500.00',
status: 'paid',
customer_email: 'user4@example.com',
currency: 'TWD',
payment_method: 'cvs',
billing_cycle: 'one-time',
paid_at: '2026-01-12T16:45:00Z'
}
]
})
};
fetch('https://api.zangsho.com/v1/orders/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zangsho.com/v1/orders/batch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'orders' => [
[
'order_no' => 'ORD-001',
'amount' => '990.00',
'status' => 'paid',
'customer_email' => 'user1@example.com',
'currency' => 'TWD',
'payment_method' => 'credit_card',
'billing_cycle' => 'monthly',
'paid_at' => '2026-01-01T00:00:00Z'
],
[
'order_no' => 'ORD-002',
'amount' => '1990.00',
'status' => 'paid',
'customer_email' => 'user2@example.com',
'currency' => 'TWD',
'payment_method' => 'atm',
'billing_cycle' => 'yearly',
'paid_at' => '2026-01-05T10:30:00Z'
],
[
'order_no' => 'ORD-003',
'amount' => '599.00',
'status' => 'paid',
'customer_email' => 'user3@example.com',
'currency' => 'TWD',
'payment_method' => 'line_pay',
'billing_cycle' => 'monthly',
'paid_at' => '2026-01-10T08:00:00Z'
],
[
'order_no' => 'ORD-004',
'amount' => '3500.00',
'status' => 'paid',
'customer_email' => 'user4@example.com',
'currency' => 'TWD',
'payment_method' => 'cvs',
'billing_cycle' => 'one-time',
'paid_at' => '2026-01-12T16:45:00Z'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zangsho.com/v1/orders/batch"
payload := strings.NewReader("{\n \"orders\": [\n {\n \"order_no\": \"ORD-001\",\n \"amount\": \"990.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user1@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"credit_card\",\n \"billing_cycle\": \"monthly\",\n \"paid_at\": \"2026-01-01T00:00:00Z\"\n },\n {\n \"order_no\": \"ORD-002\",\n \"amount\": \"1990.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user2@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"atm\",\n \"billing_cycle\": \"yearly\",\n \"paid_at\": \"2026-01-05T10:30:00Z\"\n },\n {\n \"order_no\": \"ORD-003\",\n \"amount\": \"599.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user3@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"line_pay\",\n \"billing_cycle\": \"monthly\",\n \"paid_at\": \"2026-01-10T08:00:00Z\"\n },\n {\n \"order_no\": \"ORD-004\",\n \"amount\": \"3500.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user4@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"cvs\",\n \"billing_cycle\": \"one-time\",\n \"paid_at\": \"2026-01-12T16:45:00Z\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.zangsho.com/v1/orders/batch")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"orders\": [\n {\n \"order_no\": \"ORD-001\",\n \"amount\": \"990.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user1@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"credit_card\",\n \"billing_cycle\": \"monthly\",\n \"paid_at\": \"2026-01-01T00:00:00Z\"\n },\n {\n \"order_no\": \"ORD-002\",\n \"amount\": \"1990.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user2@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"atm\",\n \"billing_cycle\": \"yearly\",\n \"paid_at\": \"2026-01-05T10:30:00Z\"\n },\n {\n \"order_no\": \"ORD-003\",\n \"amount\": \"599.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user3@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"line_pay\",\n \"billing_cycle\": \"monthly\",\n \"paid_at\": \"2026-01-10T08:00:00Z\"\n },\n {\n \"order_no\": \"ORD-004\",\n \"amount\": \"3500.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user4@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"cvs\",\n \"billing_cycle\": \"one-time\",\n \"paid_at\": \"2026-01-12T16:45:00Z\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zangsho.com/v1/orders/batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"orders\": [\n {\n \"order_no\": \"ORD-001\",\n \"amount\": \"990.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user1@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"credit_card\",\n \"billing_cycle\": \"monthly\",\n \"paid_at\": \"2026-01-01T00:00:00Z\"\n },\n {\n \"order_no\": \"ORD-002\",\n \"amount\": \"1990.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user2@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"atm\",\n \"billing_cycle\": \"yearly\",\n \"paid_at\": \"2026-01-05T10:30:00Z\"\n },\n {\n \"order_no\": \"ORD-003\",\n \"amount\": \"599.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user3@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"line_pay\",\n \"billing_cycle\": \"monthly\",\n \"paid_at\": \"2026-01-10T08:00:00Z\"\n },\n {\n \"order_no\": \"ORD-004\",\n \"amount\": \"3500.00\",\n \"status\": \"paid\",\n \"customer_email\": \"user4@example.com\",\n \"currency\": \"TWD\",\n \"payment_method\": \"cvs\",\n \"billing_cycle\": \"one-time\",\n \"paid_at\": \"2026-01-12T16:45:00Z\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"total": 123,
"created": 123,
"updated": 123,
"skipped": 123,
"failed": 123,
"results": {
"created": [
{
"index": 123,
"id": 123,
"identifier": "<string>"
}
],
"updated": [
{
"index": 123,
"id": 123,
"identifier": "<string>"
}
],
"skipped": [
{
"index": 123,
"reason": "duplicate_email",
"identifier": "<string>"
}
],
"failed": [
{
"index": 123,
"reason": "validation_error",
"message": "<string>",
"identifier": "<string>"
}
]
}
}
}{
"message": "Unauthenticated."
}{
"message": "The given data was invalid.",
"errors": {
"email": [
"The email field is required.",
"The email must be a valid email address."
]
}
}Authorizations
使用 Laravel Sanctum Token 進行認證。
Token 可在商家後台的「API 設定」頁面取得。
Body
application/json
Response
批次匯入結果
Show child attributes
Show child attributes
⌘I