• Germanized
  • REST API

Orders

Germanized adds additional properties to the orders endpoint provided by the WooCommerce REST API.

Manage orders

Retrieve, update or delete an order.

GET|POST|PUT|PATCH|DELETE: /wp-json/wc/v3/orders/<id>

Properties

shipments array readonly

List of shipments.

shipping_status string readonly

Shipping status. Options: not-shipped, partially-shipped, shipped, partially-delivered, delivered, no-shipping-needed

vat_id string readonly

VAT ID.

direct_debit object

Direct Debit.

parcel_delivery_opted_in string readonly

Parcel Delivery Data Transfer.

needs_confirmation boolean

Whether an order needs confirmation or not.

shipping object

Shipping address.

billing object

Billing address.

shipments properties
id integer readonly

Shipment ID.

shipment_number string readonly

Shipment number.

order_id string

Shipment order id.

order_number string readonly

Shipment order number.

status string

Shipment status. Options: draft, processing, shipped, delivered, requested

tracking_id string

Shipment tracking id.

tracking_url string readonly

Shipment tracking url.

shipping_provider string

Shipment shipping provider.

date_created date-time readonly

The date the shipment was created, in the site’s timezone.

date_created_gmt date-time readonly

The date the shipment was created, as GMT.

date_sent date-time readonly

The date the shipment was sent, in the site’s timezone.

date_sent_gmt date-time readonly

The date the shipment was sent, as GMT.

est_delivery_date date-time

The estimated delivery date of the shipment, in the site’s timezone.

est_delivery_date_gmt date-time

The estimated delivery date of the shipment, as GMT.

type string

Shipment type, e.g. simple or return. Options: simple, return

is_customer_requested boolean

Return shipment is requested by customer.

Return sender address.

weight string

Shipment weight.

content_weight string readonly

Shipment content weight.

content_dimensions object readonly

Shipment content dimensions.

weight_unit string

Shipment weight unit. Default is kg

packaging_id integer

Shipment packaging id.

packaging_weight string

Shipment packaging weight.

total string

Shipment total.

subtotal string

Shipment subtotal.

additional_total string

Shipment additional total.

version string

Shipment version.

shipping_method string

Shipment shipping method.

dimensions object

Shipment dimensions.

package_dimensions object readonly

Shipment package dimensions.

dimension_unit string

Shipment dimension unit. Default is cm

address object

Shipping address.

meta_data array

Meta data.

items array

Shipment items.

sender_address properties
first_name string

First name.

last_name string

Last name.

company string

Company name.

address_1 string

Address line 1.

address_2 string

Address line 2.

city string

City name.

state string

ISO code or name of the state, province or district.

postcode string

Postal code.

country string

Country code in ISO 3166-1 alpha-2 format.

customs_reference_number string

Customs reference number.

content_dimensions properties
length string readonly

Shipment content length.

width string readonly

Shipment content width.

height string readonly

Shipment content height.

dimensions properties
length string

Item length.

width string

Item width.

height string

Item height.

package_dimensions properties
length string readonly

Shipment package length.

width string readonly

Shipment package width.

height string readonly

Shipment package height.

address properties
first_name string

First name.

last_name string

Last name.

company string

Company name.

address_1 string

Address line 1.

address_2 string

Address line 2.

city string

City name.

state string

ISO code or name of the state, province or district.

postcode string

Postal code.

country string

Country code in ISO 3166-1 alpha-2 format.

customs_reference_number string

Customs reference number.

meta_data properties
id integer readonly

Meta ID.

key string

Meta key.

value mixed

Meta value.

items properties
id integer readonly

Item ID.

name mixed

Item name.

order_item_id integer

Order Item ID.

product_id mixed

Product ID.

quantity integer

Quantity.

weight string

Item weight.

sku string

Item SKU.

total string

Item total.

subtotal string

Item subtotal.

hs_code string

Item HS Code (customs).

manufacture_country string

Item country of manufacture in ISO 3166-1 alpha-2 format.

dimensions object

Item dimensions.

attributes object

Item attributes.

meta_data array

Shipment item meta data.

attributes properties
key string

Attribute key.

value string

Attribute value.

label string

Attribute label.

order_item_meta_id integer

Order item meta id.

direct_debit properties
holder string

Account Holder.

iban string

IBAN.

bic string

BIC/SWIFT.

mandate_id string

Mandate Reference ID.

shipping properties
title string

Title.

title_formatted string readonly

Formatted title.

vat_id string

VAT ID.

billing properties
title string

Title.

title_formatted string readonly

Formatted title.

vat_id string

VAT ID.