- Customers
- Customer Address
- Retrieves a list of addresses for a customer
- Creates a new address for a customer
- Retrieves details for a single customer address
- Updates an existing customer address
- Removes an address from a customer’s address list
- Performs bulk operations for multiple customer addresses
- Sets the default address for a customer
- CustomerSavedSearch
- Customer
- Retrieves a list of customers
- Creates a customer
- Searches for customers that match a supplied query
- Retrieves a single customer
- Updates a customer
- Deletes a customer
- Creates an account activation URL for a customer
- Sends an account invite to a customer
- Retrieves a count of customers
- Retrieves all orders that belong to a customer
- Sales channels
- Checkout
- CollectionListing
- Retrieve collection listings that are published to your app
- Retrieve product_ids that are published to a collection_id
- Retrieve a specific collection listing that is published to your app
- Create a collection listing to publish a collection to your app
- Delete a collection listing to unpublish a collection from your app
- Product ResourceFeedback
- MobilePlatformApplication
- ProductListing
- Retrieve product listings that are published to your app
- Retrieve product_ids that are published to your app
- Retrieve a count of products that are published to your app
- Retrieve a specific product listing that is published to your app
- Create a product listing to publish a product to your app
- Delete a product listing to unpublish a product from your app
- ResourceFeedback
- Payment
- Products
- Collect
- Collection
- CustomCollection
- Product
- Product Image
- Product Variant
- SmartCollection
- Orders
- Access
- Billing
- Online store
- Asset
- Blog
- Article
- Retrieves a list of all articles from a blog
- Creates an article for a blog
- Retrieves a count of all articles from a blog
- Receive a single Article
- Updates an article
- Deletes an article
- Retrieves a list of all article authors
- Retrieves a list of all article tags
- Retrieves a list of all article tags from a specific blog
- Redirect
- Comment
- ScriptTag
- Page
- Theme
- Shipping and fulfillment
- CancellationRequest
- CarrierService
- AssignedFulfillmentOrder
- FulfillmentEvent
- Fulfillment
- Retrieves fulfillments associated with an order
- Retrieves fulfillments associated with a fulfillment order
- Retrieves a count of fulfillments associated with a specific order
- Receive a single Fulfillment
- Creates a fulfillment for one or many fulfillment orders
- Updates the tracking information for a fulfillment
- Cancels a fulfillment
- FulfillmentOrder
- Retrieves a list of fulfillment orders for a specific order
- Retrieves a specific fulfillment order
- Cancel a fulfillment order
- Marks a fulfillment order as incomplete
- Moves a fulfillment order to a new location
- Marks the fulfillment order as open
- Reschedules the fulfill_at time of a scheduled fulfillment order
- Applies a fulfillment hold on an open fulfillment order
- Sets deadline for fulfillment orders
- Releases the fulfillment hold on a fulfillment order
- LocationsForMove
- FulfillmentRequest
- FulfillmentService
- Shopify Payments
- Analytics
- Deprecated API calls
- Discounts
- DiscountCode
- Creates a discount code
- Retrieves a list of discount codes
- Updates an existing discount code
- Retrieves a single discount code
- Deletes a discount code
- Retrieves the location of a discount code
- Retrieves a count of discount codes for a shop
- Creates a discount code creation job
- Retrieves a discount code creation job
- Retrieves a list of discount codes for a discount code creation job
- PriceRule
- DiscountCode
- Inventory
- Events
- MarketingEvent
- Metafield
- Plus
- Store properties
- TenderTransaction
Retrieves a list of fulfillment orders on a shop for a specific app
GET
/admin/api/{api_version}/assigned_fulfillment_orders.json
请求参数
Path 参数
api_version
string
必需
Query 参数
assignment_status
string
可选
示例值:
cancellation_requested
location_ids
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://demo.myshopify.com//admin/api//assigned_fulfillment_orders.json'
返回响应
🟢200Retrieves a list of fulfillment orders on a shop for a specific app
application/json
Body
fulfillment_orders
array[object (AssignedFulfillmentOrder) {8}]
可选
assigned_location_id
string
可选
destination
string
可选
- id: The ID of the fulfillment order destination.
- address1: The first line of the address of the destination.
- address2: The second line of the address of the destination.
- city: The city of the destination.
- company: The company of the destination.
- country: The country of the destination.
- email: The email of the customer at the destination.
- first_name: The first name of the customer at the destination.
- last_name: The last name of the customer at the destination.
- phone: The phone number of the customer at the destination.
- province: The province of the destination.
- zip: The ZIP code of the destination.
id
string
可选
line_items
string
可选
- id: The ID of the fulfillment order line item.
- shop_id: The ID of the shop associated with the fulfillment order line item.
- fulfillment_order_id: The ID of the fulfillment order associated with this line item.
- line_item_id: The ID of the line item associated with this fulfillment order line item.
- inventory_item_id: The ID of the inventory item associated with this fulfillment order line item.
- quantity: The total number of units to be fulfilled.
- fulfillable_quantity: The number of units remaining to be fulfilled.
示例值:
{"id":466157049,"shop_id":3998762,"fulfillment_order_id":1568020,"line_item_id":466157049,"inventory_item_id":6588097,"quantity":1,"fulfillable_quantity":1}
order_id
string
可选
request_status
string
可选
- unsubmitted:
The initial request status for the newly-created fulfillment orders. This is the only valid
request status for fulfillment orders that aren't assigned to a fulfillment service. - submitted: The merchant requested fulfillment for this fulfillment order.
- accepted: The fulfillment service accepted the merchant's fulfillment request.
- rejected: The fulfillment service rejected the merchant's fulfillment request.
- cancellation_requested: The merchant requested a cancellation of the fulfillment request for this fulfillment order.
- cancellation_accepted: The fulfillment service accepted the merchant's fulfillment cancellation request.
- cancellation_rejected: The fulfillment service rejected the merchant's fulfillment cancellation request.
- closed: The fulfillment service closed the fulfillment order without completing it.
shop_id
string
可选
status
string
可选
- open: Default state for newly created fulfillment orders.
- in_progress: The fulfillment order is being processed.
- cancelled: The fulfillment order has been cancelled by the merchant.
- incomplete: The fulfillment order cannot be completed as requested.
- closed: The fulfillment order has been completed and closed.
示例
{
"fulfillment_orders": [
{
"id": 1046000830,
"shop_id": 548380009,
"order_id": 450789469,
"assigned_location_id": 24826418,
"request_status": "cancellation_requested",
"status": "in_progress",
"supported_actions": [
"cancel_fulfillment_order",
"create_fulfillment"
],
"destination": {
"id": 1046000821,
"address1": "Chestnut Street 92",
"address2": "",
"city": "Louisville",
"company": null,
"country": "United States",
"email": "bob.norman@mail.example.com",
"first_name": "Bob",
"last_name": "Norman",
"phone": "+1(502)-459-2181",
"province": "Kentucky",
"zip": "40202"
},
"line_items": [
{
"id": 1058737568,
"shop_id": 548380009,
"fulfillment_order_id": 1046000830,
"quantity": 1,
"line_item_id": 518995019,
"inventory_item_id": 49148385,
"fulfillable_quantity": 1,
"variant_id": 49148385
}
],
"outgoing_requests": [],
"fulfillment_service_handle": "shipwire-app",
"assigned_location": {
"address1": null,
"address2": null,
"city": null,
"country_code": "DE",
"location_id": 24826418,
"name": "Apple Api Shipwire",
"phone": null,
"province": null,
"zip": null
}
}
]
}
修改于 2023-01-29 12:00:34