Back to All Orders
{{-- Tenant banner --}}
{{ $order->tenant?->name ?? 'Unknown tenant' }}
View tenant's users →

{{ $order->amazon_order_id }}

@php $color = $order->statusColor(); $badgeClass = [ 'green' => 'bg-green-50 text-green-700 ring-green-200', 'yellow' => 'bg-yellow-50 text-yellow-700 ring-yellow-200', 'blue' => 'bg-blue-50 text-blue-700 ring-blue-200', 'red' => 'bg-red-50 text-red-700 ring-red-200', 'gray' => 'bg-gray-100 text-gray-600 ring-gray-200', ][$color] ?? 'bg-gray-100 text-gray-600 ring-gray-200'; @endphp {{ $order->order_status }}

Purchased {{ $order->purchase_date?->format('D, d M Y \a\t H:i') }} UTC  ·  {{ $order->fulfillment_channel === 'AFN' ? 'FBA' : 'FBM' }}

@if($order->order_total)
{{ $order->currency_code }} {{ number_format($order->order_total, 2) }}
Order total
@endif
{{-- Items --}}

Order Items

{{ $order->items->count() }} item(s)
@foreach($order->items as $item)

{{ $item->title ?? 'Unknown Product' }}

@if($item->asin)ASIN: {{ $item->asin }}@endif @if($item->seller_sku)SKU: {{ $item->seller_sku }}@endif
Qty: {{ $item->quantity_ordered }} ordered / {{ $item->quantity_shipped }} shipped
{{-- Customization (API-parsed) --}} @if($item->hasApiCustomization())
@foreach($item->customization_data as $field) @if(!empty($field['value'])) @if(($field['type'] ?? 'text') === 'image') @else
{{ $field['label'] }}: {{ $field['value'] }}
@endif @endif @endforeach
@endif {{-- Manual customization notes --}} @if($item->hasManualCustomization())
Customization Notes
{{ $item->manual_customization_notes }}
@endif
@if($item->item_price !== null)
{{ $item->currency_code }} {{ number_format($item->item_price, 2) }}
@endif
@endforeach
{{-- Meta --}}

Buyer

@if($order->buyer_name)
{{ $order->buyer_name }}
{{ $order->buyer_email }}
@else

No buyer info available.

@endif

Shipping Address

@if($order->shipping_address) @php $addr = $order->shipping_address; @endphp
@if(!empty($addr['PostalCode']) || !empty($addr['City']))
{{ $addr['PostalCode'] ?? '' }} {{ $addr['City'] ?? '' }}
@endif @if(!empty($addr['StateOrRegion']))
{{ $addr['StateOrRegion'] }}
@endif @if(!empty($addr['CountryCode']))
{{ $addr['CountryCode'] }}
@endif
@else

No address available.

@endif

Order Details

Marketplace{{ $order->marketplace_id }}
Fulfillment{{ $order->fulfillment_channel === 'AFN' ? 'FBA' : 'FBM' }}
Amazon Account{{ $order->amazonAccount?->seller_id }}