UPS-REST - International w/ EU De Minimis

Carrier: UPS-REST
Action: International w/ EU De Minimis
Description: Example implementation for UPS-REST International w/ EU De Minimis
{
  "carrier": "UPS-REST",
  "action": "SubmitShipment",
  "params": {
    "test": true,
    "key": "your-key-from-authenticate-request",
    "account_number": "YOUR_ACCOUNT",
    "customs_forms": "01",
    "currency": "EUR",
    "invoice_date": "20260702",
    "reason_for_export": "SALE",
    "invoice_line_total": 120,
    "eu_de_minimis": true,
    "packages": [
      {
        "weight": 1
      }
    ],
    "customs": [
      {
        "invoice_line_number": "1",
        "invoice_line_part_number": "SKU-123",
        "invoice_line_description": "Silicone product",
        "invoice_line_value": "120",
        "invoice_line_origin_country_code": "US",
        "customs_quantity_units": "EA",
        "regulatory_details": [
          {
            "regulation_code": "EU_DE_MINIMIS",
            "merchant_product_id": "SKU-123",
            "non_standard_manufacturer_product_id": "SH123456-L",
            "standard_manufacturer_product_id": "01233456789012"
          }
        ]
      }
    ],
    "sold_company": "Max Mustermann GmbH",
    "sold_name": "Max Mustermann",
    "sold_phone": "493055551234",
    "sold_addr1": "Friedrichstrasse 100",
    "sold_city": "Berlin",
    "sold_code": "10117",
    "sold_country": "DE",
    "service": "07",
    "to_name": "Max Mustermann",
    "to_attention_name": "Max Mustermann",
    "to_addr1": "Friedrichstrasse 100",
    "to_city": "Berlin",
    "to_code": "10117",
    "to_country": "DE",
    "to_phone": "493055551234",
    "ship_contact": "Jane Smith",
    "shipper": "Bad Dragon LLC",
    "ship_addr1": "100 Main Street",
    "ship_state": "AZ",
    "ship_city": "Phoenix",
    "ship_code": "85001",
    "ship_country": "US",
    "ship_phone": "6025551234",
    "image_type": "PNG",
    "shipment_description": "Consumer goods",
    "packaging_type": "02",
    "pickup_type": "02",
    "weight_unit": "KGS",
    "length_unit": "CM"
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'UPS-REST',
  'action' => 'SubmitShipment',
  'params' => 
  array (
    'test' => true,
    'key' => 'your-key-from-authenticate-request',
    'account_number' => 'YOUR_ACCOUNT',
    'customs_forms' => '01',
    'currency' => 'EUR',
    'invoice_date' => '20260702',
    'reason_for_export' => 'SALE',
    'invoice_line_total' => 120,
    'eu_de_minimis' => true,
    'packages' => 
    array (
      0 => 
      array (
        'weight' => 1,
      ),
    ),
    'customs' => 
    array (
      0 => 
      array (
        'invoice_line_number' => '1',
        'invoice_line_part_number' => 'SKU-123',
        'invoice_line_description' => 'Silicone product',
        'invoice_line_value' => '120',
        'invoice_line_origin_country_code' => 'US',
        'customs_quantity_units' => 'EA',
        'regulatory_details' => 
        array (
          0 => 
          array (
            'regulation_code' => 'EU_DE_MINIMIS',
            'merchant_product_id' => 'SKU-123',
            'non_standard_manufacturer_product_id' => 'SH123456-L',
            'standard_manufacturer_product_id' => '01233456789012',
          ),
        ),
      ),
    ),
    'sold_company' => 'Max Mustermann GmbH',
    'sold_name' => 'Max Mustermann',
    'sold_phone' => '493055551234',
    'sold_addr1' => 'Friedrichstrasse 100',
    'sold_city' => 'Berlin',
    'sold_code' => '10117',
    'sold_country' => 'DE',
    'service' => '07',
    'to_name' => 'Max Mustermann',
    'to_attention_name' => 'Max Mustermann',
    'to_addr1' => 'Friedrichstrasse 100',
    'to_city' => 'Berlin',
    'to_code' => '10117',
    'to_country' => 'DE',
    'to_phone' => '493055551234',
    'ship_contact' => 'Jane Smith',
    'shipper' => 'Bad Dragon LLC',
    'ship_addr1' => '100 Main Street',
    'ship_state' => 'AZ',
    'ship_city' => 'Phoenix',
    'ship_code' => '85001',
    'ship_country' => 'US',
    'ship_phone' => '6025551234',
    'image_type' => 'PNG',
    'shipment_description' => 'Consumer goods',
    'packaging_type' => '02',
    'pickup_type' => '02',
    'weight_unit' => 'KGS',
    'length_unit' => 'CM',
  ),
)
);

rs.request(
  {'action': 'SubmitShipment',
 'carrier': 'UPS-REST',
 'params': {'account_number': 'YOUR_ACCOUNT',
            'currency': 'EUR',
            'customs': [{'customs_quantity_units': 'EA',
                         'invoice_line_description': 'Silicone product',
                         'invoice_line_number': '1',
                         'invoice_line_origin_country_code': 'US',
                         'invoice_line_part_number': 'SKU-123',
                         'invoice_line_value': '120',
                         'regulatory_details': [{'merchant_product_id': 'SKU-123',
                                                 'non_standard_manufacturer_product_id': 'SH123456-L',
                                                 'regulation_code': 'EU_DE_MINIMIS',
                                                 'standard_manufacturer_product_id': '01233456789012'}]}],
            'customs_forms': '01',
            'eu_de_minimis': True,
            'image_type': 'PNG',
            'invoice_date': '20260702',
            'invoice_line_total': 120,
            'key': 'your-key-from-authenticate-request',
            'length_unit': 'CM',
            'packages': [{'weight': 1}],
            'packaging_type': '02',
            'pickup_type': '02',
            'reason_for_export': 'SALE',
            'service': '07',
            'ship_addr1': '100 Main Street',
            'ship_city': 'Phoenix',
            'ship_code': '85001',
            'ship_contact': 'Jane Smith',
            'ship_country': 'US',
            'ship_phone': '6025551234',
            'ship_state': 'AZ',
            'shipment_description': 'Consumer goods',
            'shipper': 'Bad Dragon LLC',
            'sold_addr1': 'Friedrichstrasse 100',
            'sold_city': 'Berlin',
            'sold_code': '10117',
            'sold_company': 'Max Mustermann GmbH',
            'sold_country': 'DE',
            'sold_name': 'Max Mustermann',
            'sold_phone': '493055551234',
            'test': True,
            'to_addr1': 'Friedrichstrasse 100',
            'to_attention_name': 'Max Mustermann',
            'to_city': 'Berlin',
            'to_code': '10117',
            'to_country': 'DE',
            'to_name': 'Max Mustermann',
            'to_phone': '493055551234',
            'weight_unit': 'KGS'}}

)

rs.request(
  {"carrier"=>"UPS-REST",
 "action"=>"SubmitShipment",
 "params"=>
  {"test"=>true,
   "key"=>"your-key-from-authenticate-request",
   "account_number"=>"YOUR_ACCOUNT",
   "customs_forms"=>"01",
   "currency"=>"EUR",
   "invoice_date"=>"20260702",
   "reason_for_export"=>"SALE",
   "invoice_line_total"=>120,
   "eu_de_minimis"=>true,
   "packages"=>[{"weight"=>1}],
   "customs"=>
    [{"invoice_line_number"=>"1",
      "invoice_line_part_number"=>"SKU-123",
      "invoice_line_description"=>"Silicone product",
      "invoice_line_value"=>"120",
      "invoice_line_origin_country_code"=>"US",
      "customs_quantity_units"=>"EA",
      "regulatory_details"=>
       [{"regulation_code"=>"EU_DE_MINIMIS",
         "merchant_product_id"=>"SKU-123",
         "non_standard_manufacturer_product_id"=>"SH123456-L",
         "standard_manufacturer_product_id"=>"01233456789012"}]}],
   "sold_company"=>"Max Mustermann GmbH",
   "sold_name"=>"Max Mustermann",
   "sold_phone"=>"493055551234",
   "sold_addr1"=>"Friedrichstrasse 100",
   "sold_city"=>"Berlin",
   "sold_code"=>"10117",
   "sold_country"=>"DE",
   "service"=>"07",
   "to_name"=>"Max Mustermann",
   "to_attention_name"=>"Max Mustermann",
   "to_addr1"=>"Friedrichstrasse 100",
   "to_city"=>"Berlin",
   "to_code"=>"10117",
   "to_country"=>"DE",
   "to_phone"=>"493055551234",
   "ship_contact"=>"Jane Smith",
   "shipper"=>"Bad Dragon LLC",
   "ship_addr1"=>"100 Main Street",
   "ship_state"=>"AZ",
   "ship_city"=>"Phoenix",
   "ship_code"=>"85001",
   "ship_country"=>"US",
   "ship_phone"=>"6025551234",
   "image_type"=>"PNG",
   "shipment_description"=>"Consumer goods",
   "packaging_type"=>"02",
   "pickup_type"=>"02",
   "weight_unit"=>"KGS",
   "length_unit"=>"CM"}}

)

rocketshipit.request(
  {
  "carrier": "UPS-REST",
  "action": "SubmitShipment",
  "params": {
    "test": true,
    "key": "your-key-from-authenticate-request",
    "account_number": "YOUR_ACCOUNT",
    "customs_forms": "01",
    "currency": "EUR",
    "invoice_date": "20260702",
    "reason_for_export": "SALE",
    "invoice_line_total": 120,
    "eu_de_minimis": true,
    "packages": [
      {
        "weight": 1
      }
    ],
    "customs": [
      {
        "invoice_line_number": "1",
        "invoice_line_part_number": "SKU-123",
        "invoice_line_description": "Silicone product",
        "invoice_line_value": "120",
        "invoice_line_origin_country_code": "US",
        "customs_quantity_units": "EA",
        "regulatory_details": [
          {
            "regulation_code": "EU_DE_MINIMIS",
            "merchant_product_id": "SKU-123",
            "non_standard_manufacturer_product_id": "SH123456-L",
            "standard_manufacturer_product_id": "01233456789012"
          }
        ]
      }
    ],
    "sold_company": "Max Mustermann GmbH",
    "sold_name": "Max Mustermann",
    "sold_phone": "493055551234",
    "sold_addr1": "Friedrichstrasse 100",
    "sold_city": "Berlin",
    "sold_code": "10117",
    "sold_country": "DE",
    "service": "07",
    "to_name": "Max Mustermann",
    "to_attention_name": "Max Mustermann",
    "to_addr1": "Friedrichstrasse 100",
    "to_city": "Berlin",
    "to_code": "10117",
    "to_country": "DE",
    "to_phone": "493055551234",
    "ship_contact": "Jane Smith",
    "shipper": "Bad Dragon LLC",
    "ship_addr1": "100 Main Street",
    "ship_state": "AZ",
    "ship_city": "Phoenix",
    "ship_code": "85001",
    "ship_country": "US",
    "ship_phone": "6025551234",
    "image_type": "PNG",
    "shipment_description": "Consumer goods",
    "packaging_type": "02",
    "pickup_type": "02",
    "weight_unit": "KGS",
    "length_unit": "CM"
  }
}
)
← Back to UPS-REST Examples

Other UPS-REST Examples

Acceptance Audit Precheck
Example implementation for UPS-REST Acceptance Audit Precheck
Address Validation
Example implementation for UPS-REST Address Validation
Address Validation City/State from Zip
Example implementation for UPS-REST Address Validation City/State from Zip
Authenticate
Example implementation for UPS-REST Authenticate
Chemical Reference Lookup
Example implementation for UPS-REST Chemical Reference Lookup
Delivery Intercept Cancel
Example implementation for UPS-REST Delivery Intercept Cancel
Delivery Intercept Charges
Example implementation for UPS-REST Delivery Intercept Charges
Delivery Intercept Eligibility
Example implementation for UPS-REST Delivery Intercept Eligibility
Delivery Intercept Redirect
Example implementation for UPS-REST Delivery Intercept Redirect
Delivery Intercept Reschedule
Example implementation for UPS-REST Delivery Intercept Reschedule
Delivery Intercept Return to Sender
Example implementation for UPS-REST Delivery Intercept Return to Sender
Delivery Intercept Will Call
Example implementation for UPS-REST Delivery Intercept Will Call
Download CSV
Example implementation for UPS-REST Download CSV
International Return w/ Import Control
Example implementation for UPS-REST International Return w/ Import Control
International w/ Com. Inv.
Example implementation for UPS-REST International w/ Com. Inv.
International w/ Com. Inv. with EEI
Example implementation for UPS-REST International w/ Com. Inv. with EEI
International w/ Empty Declaration Statement
Example implementation for UPS-REST International w/ Empty Declaration Statement
Label
Example implementation for UPS-REST Label
Label Additional Handling
Example implementation for UPS-REST Label Additional Handling
Label Alt Address
Example implementation for UPS-REST Label Alt Address
Label COD
Example implementation for UPS-REST Label COD
Label Carbon Neutral
Example implementation for UPS-REST Label Carbon Neutral
Label DDP/DDU
Example implementation for UPS-REST Label DDP/DDU
Label Direct Adult Signature
Example implementation for UPS-REST Label Direct Adult Signature
Label Direct Delivery Only
Example implementation for UPS-REST Label Direct Delivery Only
Label Direct Signature
Example implementation for UPS-REST Label Direct Signature
Label Email Notifications
Example implementation for UPS-REST Label Email Notifications
Label Freight Collect
Example implementation for UPS-REST Label Freight Collect
Label Ground Freight Pricing
Example implementation for UPS-REST Label Ground Freight Pricing
Label Hazmat
Example implementation for UPS-REST Label Hazmat
Label Insurance
Example implementation for UPS-REST Label Insurance
Label Lithium Battery
Example implementation for UPS-REST Label Lithium Battery
Label Mail Innovations
Example implementation for UPS-REST Label Mail Innovations
Label Mail Innovations International CN22
Example implementation for UPS-REST Label Mail Innovations International CN22
Label NAFTA CO
Example implementation for UPS-REST Label NAFTA CO
Label Recovery
Example implementation for UPS-REST Label Recovery
Label Reference Values
Example implementation for UPS-REST Label Reference Values
Label Return
Example implementation for UPS-REST Label Return
Label Return w/ Email Delivery
Example implementation for UPS-REST Label Return w/ Email Delivery
Label SurePost
Example implementation for UPS-REST Label SurePost
Label Third Party Billing
Example implementation for UPS-REST Label Third Party Billing
Label With Promo Discount
Example implementation for UPS-REST Label With Promo Discount
Label w/ Access Point
Example implementation for UPS-REST Label w/ Access Point
Landed Cost
Example implementation for UPS-REST Landed Cost
Landed Cost Multiple Items
Example implementation for UPS-REST Landed Cost Multiple Items
Letter International w/ Com. Inv.
Example implementation for UPS-REST Letter International w/ Com. Inv.
Locator
Example implementation for UPS-REST Locator
Pickup Cancel
Example implementation for UPS-REST Pickup Cancel
Pickup Rate
Example implementation for UPS-REST Pickup Rate
Pickup Schedule
Example implementation for UPS-REST Pickup Schedule
Pickup Status
Example implementation for UPS-REST Pickup Status
Pickup Status Oncall
Example implementation for UPS-REST Pickup Status Oncall
Rates
Example implementation for UPS-REST Rates
Rates Additional Handling
Example implementation for UPS-REST Rates Additional Handling
Rates COD
Example implementation for UPS-REST Rates COD
Rates Daily
Example implementation for UPS-REST Rates Daily
Rates Ground Freight Pricing
Example implementation for UPS-REST Rates Ground Freight Pricing
Rates Hazmat
Example implementation for UPS-REST Rates Hazmat
Rates International
Example implementation for UPS-REST Rates International
Rates Negotiated
Example implementation for UPS-REST Rates Negotiated
Rates Retail
Example implementation for UPS-REST Rates Retail
Rates Simple Rate
Example implementation for UPS-REST Rates Simple Rate
Rates Single
Example implementation for UPS-REST Rates Single
Rates SurePost
Example implementation for UPS-REST Rates SurePost
Rates with Return Service
Example implementation for UPS-REST Rates with Return Service
Rating w/ Access Point
Example implementation for UPS-REST Rating w/ Access Point
Time in Transit
Example implementation for UPS-REST Time in Transit
Time in Transit International
Example implementation for UPS-REST Time in Transit International
Track Alert (webhook)
Example implementation for UPS-REST Track Alert (webhook)
Track Alert Multiple (webhook)
Example implementation for UPS-REST Track Alert Multiple (webhook)
Track by Reference Number
Example implementation for UPS-REST Track by Reference Number
Tracking
Example implementation for UPS-REST Tracking
Tracking Mail Innovations
Example implementation for UPS-REST Tracking Mail Innovations
Upload Customs Document
Example implementation for UPS-REST Upload Customs Document
Upload Link Customs Document
Example implementation for UPS-REST Upload Link Customs Document
Void Shipment
Example implementation for UPS-REST Void Shipment