API Produk & Keuangan
Melalui API ini, Anda akan mendapatkan informasi yang saling terintegrasi berkaitan Produk yang telah di beli oleh pengguna dan laporan keuangan.
Properti Pesanan
id
integer
Unique identifier for the resource.READ-ONLY
parent_id
integer
Parent order ID.
number
string
Order number.READ-ONLY
order_key
string
Order key.READ-ONLY
created_via
string
Shows where the order was created.READ-ONLY
version
string
Version of WooCommerce which last updated the order.READ-ONLY
status
string
Order status. Options: pending
, processing
, on-hold
, completed
, cancelled
, refunded
, failed
and trash
. Default is pending
.
currency
string
Currency the order was created with, in ISO format. Options: AED
, AFN
, ALL
, AMD
, ANG
, AOA
, ARS
, AUD
, AWG
, AZN
, BAM
, BBD
, BDT
, BGN
, BHD
, BIF
, BMD
, BND
, BOB
, BRL
, BSD
, BTC
, BTN
, BWP
, BYR
, BZD
, CAD
, CDF
, CHF
, CLP
, CNY
, COP
, CRC
, CUC
, CUP
, CVE
, CZK
, DJF
, DKK
, DOP
, DZD
, EGP
, ERN
, ETB
, EUR
, FJD
, FKP
, GBP
, GEL
, GGP
, GHS
, GIP
, GMD
, GNF
, GTQ
, GYD
, HKD
, HNL
, HRK
, HTG
, HUF
, IDR
, ILS
, IMP
, INR
, IQD
, IRR
, IRT
, ISK
, JEP
, JMD
, JOD
, JPY
, KES
, KGS
, KHR
, KMF
, KPW
, KRW
, KWD
, KYD
, KZT
, LAK
, LBP
, LKR
, LRD
, LSL
, LYD
, MAD
, MDL
, MGA
, MKD
, MMK
, MNT
, MOP
, MRO
, MUR
, MVR
, MWK
, MXN
, MYR
, MZN
, NAD
, NGN
, NIO
, NOK
, NPR
, NZD
, OMR
, PAB
, PEN
, PGK
, PHP
, PKR
, PLN
, PRB
, PYG
, QAR
, RON
, RSD
, RUB
, RWF
, SAR
, SBD
, SCR
, SDG
, SEK
, SGD
, SHP
, SLL
, SOS
, SRD
, SSP
, STD
, SYP
, SZL
, THB
, TJS
, TMT
, TND
, TOP
, TRY
, TTD
, TWD
, TZS
, UAH
, UGX
, USD
, UYU
, UZS
, VEF
, VND
, VUV
, WST
, XAF
, XCD
, XOF
, XPF
, YER
, ZAR
and ZMW
. Default is USD
.
date_created
date-time
The date the order was created, in the site's timezone.READ-ONLY
date_created_gmt
date-time
The date the order was created, as GMT.READ-ONLY
date_modified
date-time
The date the order was last modified, in the site's timezone.READ-ONLY
date_modified_gmt
date-time
The date the order was last modified, as GMT.READ-ONLY
discount_total
string
Total discount amount for the order.READ-ONLY
discount_tax
string
Total discount tax amount for the order.READ-ONLY
shipping_total
string
Total shipping amount for the order.READ-ONLY
shipping_tax
string
Total shipping tax amount for the order.READ-ONLY
cart_tax
string
Sum of line item taxes only.READ-ONLY
total
string
Grand total.READ-ONLY
total_tax
string
Sum of all taxes.READ-ONLY
prices_include_tax
boolean
True the prices included tax during checkout.READ-ONLY
customer_id
integer
User ID who owns the order. 0 for guests. Default is 0
.
customer_ip_address
string
Customer's IP address.READ-ONLY
customer_user_agent
string
User agent of the customer.READ-ONLY
customer_note
string
Note left by customer during checkout.
billing
object
shipping
object
payment_method
string
Payment method ID.
payment_method_title
string
Payment method title.
transaction_id
string
Unique transaction ID.
date_paid
date-time
The date the order was paid, in the site's timezone.READ-ONLY
date_paid_gmt
date-time
The date the order was paid, as GMT.READ-ONLY
date_completed
date-time
The date the order was completed, in the site's timezone.READ-ONLY
date_completed_gmt
date-time
The date the order was completed, as GMT.READ-ONLY
cart_hash
string
MD5 hash of cart items to ensure orders are not modified.READ-ONLY
meta_data
array
line_items
array
tax_lines
array
shipping_lines
array
fee_lines
array
coupon_lines
array
refunds
array
set_paid
boolean
Define if the order is paid. It will set the status to processing and reduce stock items. Default is false
.
Ambil pesanan
API ini memungkinkan Anda mengambil dan melihat pesanan tertentu.
HTTP request
GET
JSON response example:
Selengkapnya tutorial anda dapat kunjungi link ini : event.ldp-pormiki.co.id Jika anda membutuhkan akses kunci API Private kami, silahkan hubungi kami melalui kontak bantuan website atau email sekre@ldp-pormiki.co.id, kami dengan senang hati akan membagikan kunci API kami ke anda.
Last updated