Shopify Native Actions - Orders
In this section, we will talk about the “Orders” related actions. UChat support below customer related actions:
Get Shop Information
Lookup discount code
Create discount code
Search for draft orders
Create draft orders for one product
Create draft order for multiple products
Create draft order with custom products
Send an invoice for the draft order
Apply discount to draft order
Complete draft order
Get draft order information
Get order information
Now, let’s go over these actions one by one.
- 1 Get Shop Info
- 1.1 Input
- 1.2 Response Payload
- 2 Create Draft Order For One Product
- 2.1 Input
- 2.2 Response Payload
- 3 Create Draft Order For Multiple Products
- 3.1 Input
- 3.2 Response Payload
- 4 Create Draft Order WIth Custom Product
- 4.1 Input
- 4.2 Reponse Payload
- 5 Send An Invoice Of Draft Order
- 5.1 Input
- 5.2 Response Payload
- 6 Apply Discount To A Draft Order
- 6.1 Input
- 6.2 Response Payload
- 7 Complete Draft Order
- 7.1 Input
- 7.2 Response Payload
- 8 Get Draft Order Info
- 8.1 Input
- 8.2 Response Payload
- 9 Get Order Info
- 9.1 Input
- 9.2 Response Payload
Get Shop Info
This action is used to bring up information about your shopify store.
Input
Response Payload
{ |
Create Draft Order For One Product
This action is used to create a draft order for a customer using their customer id and product variant id.
Input
Response Payload
{ |
Create Draft Order For Multiple Products
This action is used for creating a draft order that includes multiple products of customers using their customer ID
Input
Response Payload
{ |
Create Draft Order WIth Custom Product
This action is used to create a draft order using a custom product.
Input
Reponse Payload
{ |
Send An Invoice Of Draft Order
This action is used to send an invoice of the draft order created to the customer. Please note that the email id used to send the email should be of someone from the staff or someone who has staff privileges.
Input
Response Payload
{ |
Apply Discount To A Draft Order
This action is used to apply a discount offer or code to an existing draft order.
Input
Response Payload
{ |
Complete Draft Order
This action is used to either mark a draft order paid or unpaid.
Input
Response Payload
{ |
Delete Draft Order
This action is used to delete the draft order using draft order Id.
Input
Respone Payload
[
] |
Get Draft Order Info
This action is used to fetch information of a particular draft orde using draft orde ID
Input
Response Payload
{ |
Get Order Info
This action is used to fetch information regarding a particular order using Order Id.
Input
Response Payload
{ |