About Fulfillment ​
Access scope
Multiple access scopes needed — refer to each endpoint for access scope requirements.
Fulfillment is a core business module of Genstore, enabling end-to-end order delivery management from shipping to after-sales. Through standardized fulfillment processes and real-time status tracking, it provides merchants with efficient order fulfillment capabilities, reducing operational costs and improving customer satisfaction.
Core Features
- Create Shipment: Create order shipment record and register logistics information.
- Update Logistics: Modify carrier and tracking information of fulfillment order.
- Query Logistics: Retrieve real-time logistics status and tracking history.
- Create Return: Create refund record with or without item return.
- Register Return: Record return logistics information.
- Query Fulfillment: Retrieve detailed fulfillment record information.
- Count Fulfillment: Get order fulfillment count and status statistics.
Use Cases
- Multi-channel Fulfillment: Merchants can efficiently manage fulfillment processes across different channels through the API, coordinate shipments from multiple locations, and maintain consistent delivery standards across all sales channels.
- Third-party Logistics Integration: Logistics providers can integrate with the API to automatically receive shipping orders, update delivery status in real-time, and manage exceptions through standardized processes, ensuring efficient and transparent delivery operations.
- After-sales Service Platform: Customer service teams can leverage the API to process returns and refunds systematically, track return shipments, and maintain complete service records, enabling efficient resolution of customer issues.
Endpoints
POST /api/202412/fulfillments: Create fulfillment
POST /api/202412/fulfillment_services: Fulfillment Services
PUT /api/202412/fulfillments/{fulfillmentId}/update_tracking: Update fulfillment logistics
GET /api/202412/orders/{orderId}/fulfillments: Get order fulfillment list
Order Fulfillment Object ​
An order fulfillment refers to the process of preparing and delivering orders to customers.
Properties ​
{
"fulfillment": {
"lineItems": [
{
"variantTitle": "green",
"quantity": "1",
"productId": "632910392",
"title": "iPhone 15Pr - 128gb",
"fulfillmentStatus": "null",
"requiresShipping": "true",
"price": "6400",
"giftCard": "false",
"name": "iPhone 15Pr - 128gb - green",
"id": "466157049",
"variantId": "39072856",
"grams": "200",
"sku": "IPOD2008GREEN"
}
],
"orderId": "450789469",
"trackingUrl": "https://www.my-shipping-company.com?tracking_number=MS1562678",
"createTime": "2024-11-25T15:47:18-04:00",
"originAddress": [
{
"zip": "G1R 4P5",
"address2": "Suite 123",
"city": "Montreal",
"address1": "1 Rue des Carrieres",
"countryCode": "CA",
"provinceCode": "QC"
}
],
"trackingCompany": "",
"trackingNumbers": "["MS1562678"]",
"updateTime": "2024-11-25T15:47:18-04:00",
"id": "466157049",
"trackingNumber": "MS1562678",
"trackingUrls": "["https://www.my-shipping-company.com?tracking_number=MS1562678" ]",
"status": "open"
}
}
POST Create fulfillment ​
Create a fulfillment for one or many fulfillment orders.
Access scope
Requires ANY of the following access scopes: write_fulfillments
Endpoint
POST /api/202412/fulfillments
Request Params
Response Data
curl -X POST \
https://{shop}.genmystore.com/api/202412/fulfillments" \
-H "X-Genstore-Access-Token: {access_token}" \
-H "Content-Type: application/json" \
-d '{
"fulfillment":{
"lineItems":[
{
"quantity":"1",
"id":"prod_991122"
}
],
"orderId":"12",
"trackings":[
{
"trackingUrl":"https://www.ups.com/cn/zh/home",
"trackingCompany":"UPS",
"trackingNumber":"1Z9R45W80327001526"
}
],
"originAddress":[
{
"zip":"200050",
"address2":"B座15楼",
"city":"上海市",
"address1":"长宁区虹桥路1234号",
"countryCode":"CN",
"provinceCode":"SH"
}
],
"fulfillmentServiceHandle":"dsers"
}
}'
HTTP/1.1 200 OK
{
"fulfillment": {
"orderId": "12",
"trackingUrl": "https://www.ups.com/cn/zh/track?trackingNumber=1Z9R45W80327001526",
"originAddress": [
{
"zip": "200050",
"address2": "B座15楼",
"city": "上海市",
"address1": "长宁区虹桥路1234号",
"countryCode": "CN",
"provinceCode": "SH"
}
],
"trackingNumbers": "1Z9R45W80327001526,1ZW689A80327004321",
"updateTime": "2025-06-24T09:15:22+08:00",
"trackingUrls": "https://www.ups.com/track?num=1Z9R45W80327001526,https://www.ups.com/track?num=1ZW689A80327004321",
"lineItems": [
{
"variantTitle": "黑色 / 大码",
"quantity": "2",
"productId": "prod_778899",
"title": "男士纯棉T恤",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "129.00",
"giftCard": "false",
"name": "Premium T-Shirt",
"id": "li_00112233",
"variantId": "var_445566",
"grams": "350",
"sku": "TSH-BLK-L"
}
],
"createTime": "2025-06-24T09:15:22+08:00",
"trackingCompany": "UPS China",
"id": "ful_123456789",
"trackingNumber": "1Z9R45W80327001526",
"status": "open",
"fulfillmentServiceHandle": "dsers"
}
}
POST Fulfillment Services ​
Create a fulfillment service provider.
Access scope
Requires ANY of the following access scopes: write_fulfillments
Endpoint
POST /api/202412/fulfillment_services
Request Params
Response Data
curl -X POST \
https://{shop}.genmystore.com/api/202412/fulfillment_services" \
-H "X-Genstore-Access-Token: {access_token}" \
-H "Content-Type: application/json" \
-d '{
"fulfillmentService":{
"trackingSupport":"true",
"name":"Dsers",
"callbackUrl":"http://api.genstore.ai/callback"
}
}'
HTTP/1.1 200 OK
{
"fulfillmentService": {
"trackingSupport": "true",
"name": "Dsers",
"serviceId": "129001",
"serviceName": "Dsers"
}
}
PUT Update fulfillment logistics ​
Update the tracking information for a fulfillment.
Access scope
Requires ANY of the following access scopes: write_fulfillments
Endpoint
PUT /api/202412/fulfillments/{fulfillmentId}/update_tracking
Request Params
Response Data
curl -X PUT \
https://{shop}.genmystore.com/api/202412/fulfillments/{fulfillmentId}/update_tracking" \
-H "X-Genstore-Access-Token: {access_token}" \
-H "Content-Type: application/json" \
-d '{
"fulfillment":{
"lineItems":[
{
"variantTitle":"Blue / Large",
"quantity":"2",
"productId":"7982439268491",
"title":"男士纯棉T恤",
"fulfillmentStatus":"fulfilled",
"requiresShipping":"true",
"price":"29.99",
"giftCard":"false",
"name":"Classic Cotton Tee",
"id":"1051830923275",
"variantId":"40234680336587",
"grams":"250",
"sku":"MCT-BLU-L"
}
],
"orderId":"520982765579",
"createTime":"2025-07-07T10:30:00Z",
"trackings":[
{
"trackingUrl":"https://www.ups.com/cn/zh/home",
"trackingCompany":"UPS",
"trackingNumber":"1Z9R45W80327001526"
}
],
"originAddress":[
{
"zip":"200001",
"address2":"单元B",
"city":"上海",
"address1":"南京东路123号",
"countryCode":"CN",
"provinceCode":"SH"
}
],
"updateTime":"2025-07-07T14:15:00Z",
"id":"7009837645",
"status":"fulfilled"
}
}'
HTTP/1.1 200 OK
{
"fulfillment": {
"lineItems": [
{
"variantTitle": "Blue / Large",
"quantity": "2",
"productId": "7982439268491",
"title": "男士纯棉T恤",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "29.99",
"giftCard": "false",
"name": "Classic Cotton Tee",
"id": "1051830923275",
"variantId": "40234680336587",
"grams": "250",
"sku": "MCT-BLU-L"
}
],
"orderId": "520982765579",
"createTime": "2025-07-07T10:30:00Z",
"trackings": [
{
"trackingUrl": "https://www.ups.com/cn/zh/home",
"trackingCompany": "UPS",
"trackingNumber": "1Z9R45W80327001526"
}
],
"originAddress": [
{
"zip": "200001",
"address2": "单元B",
"city": "上海",
"address1": "南京东路123号",
"countryCode": "CN",
"provinceCode": "SH"
}
],
"updateTime": "2025-07-07T14:15:00Z",
"id": "7009837645",
"status": "fulfilled"
}
}
GET Get order fulfillment list ​
Obtain the fulfillment list based on the order.
Access scope
Requires ANY of the following access scopes: read_fulfillments
Endpoint
GET /api/202412/orders/{orderId}/fulfillments
Request Params
Response Data
curl -X GET \
https://{shop}.genmystore.com/api/202412/orders/{orderId}/fulfillments" \
-H "X-Genstore-Access-Token: {access_token}" \
HTTP/1.1 200 OK
{
"fulfillment": [
{
"orderId": "12",
"trackingUrl": "https://www.ups.com/cn/zh/track?trackingNumber=1Z9R45W80327001526",
"originAddress": [
{
"zip": "200050",
"address2": "B座15楼",
"city": "上海市",
"address1": "长宁区虹桥路1234号",
"countryCode": "CN",
"provinceCode": "SH"
}
],
"trackingNumbers": "UPS China",
"updateTime": "2025-06-24T09:15:22+08:00",
"trackingUrls": "https://www.ups.com/track?num=1Z9R45W80327001526,https://www.ups.com/track?num=1ZW689A80327004321",
"lineItems": [
{
"variantTitle": "黑色 / 大码",
"quantity": "2",
"productId": "prod_778899",
"title": "男士纯棉T恤",
"fulfillmentStatus": "fulfilled",
"requiresShipping": "true",
"price": "129.00",
"giftCard": "false",
"name": "Premium T-Shirt",
"id": "li_00112233",
"variantId": "var_445566",
"grams": "350",
"sku": "TSH-BLK-L"
}
],
"createTime": "2025-06-25T14:30:00+08:00",
"trackings": [
{
"trackingUrl": "https://www.ups.com/track?num=1ZW689A80327004321",
"trackingCompany": "UPS Express",
"trackingNumber": "1ZW689A80327004321"
}
],
"trackingCompany": "[]",
"id": "ful_123456789",
"trackingNumber": "1Z9R45W80327001526",
"status": "fulfilled",
"fulfillmentServiceHandle": "dsers"
}
]
}
About Fulfillment
Access scope
Multiple access scopes needed — refer to each endpoint for access scope requirements.
Fulfillment is a core business module of Genstore, enabling end-to-end order delivery management from shipping to after-sales. Through standardized fulfillment processes and real-time status tracking, it provides merchants with efficient order fulfillment capabilities, reducing operational costs and improving customer satisfaction.
Core Features
- Create Shipment: Create order shipment record and register logistics information.
- Update Logistics: Modify carrier and tracking information of fulfillment order.
- Query Logistics: Retrieve real-time logistics status and tracking history.
- Create Return: Create refund record with or without item return.
- Register Return: Record return logistics information.
- Query Fulfillment: Retrieve detailed fulfillment record information.
- Count Fulfillment: Get order fulfillment count and status statistics.
Use Cases
- Multi-channel Fulfillment: Merchants can efficiently manage fulfillment processes across different channels through the API, coordinate shipments from multiple locations, and maintain consistent delivery standards across all sales channels.
- Third-party Logistics Integration: Logistics providers can integrate with the API to automatically receive shipping orders, update delivery status in real-time, and manage exceptions through standardized processes, ensuring efficient and transparent delivery operations.
- After-sales Service Platform: Customer service teams can leverage the API to process returns and refunds systematically, track return shipments, and maintain complete service records, enabling efficient resolution of customer issues.
Order Fulfillment Object
An order fulfillment refers to the process of preparing and delivering orders to customers.
Properties
POST Create fulfillment
Create a fulfillment for one or many fulfillment orders.
Access scope
Requires ANY of the following access scopes: write_fulfillments
Endpoint
POST /api/202412/fulfillments
POST Fulfillment Services
Create a fulfillment service provider.
Access scope
Requires ANY of the following access scopes: write_fulfillments
Endpoint
POST /api/202412/fulfillment_services
PUT Update fulfillment logistics
Update the tracking information for a fulfillment.
Access scope
Requires ANY of the following access scopes: write_fulfillments
Endpoint
PUT /api/202412/fulfillments/{fulfillmentId}/update_tracking
GET Get order fulfillment list
Obtain the fulfillment list based on the order.
Access scope
Requires ANY of the following access scopes: read_fulfillments
Endpoint
GET /api/202412/orders/{orderId}/fulfillments