{
"carrier": "FedEx-REST",
"action": "createregulatoryprofile",
"params": {
"test": true,
"key": "your-key-from-authenticate-request",
"regulatory_profiles": [
{
"regulation_code": "EU_DE_MINIMIS",
"product_id": "TSHIRT-L-001",
"product_id_type": "SKU",
"country_of_import": "FR",
"details": [
{
"merchant_product_id": "TSHIRT-L-001",
"non_standard_manufacturer_product_id": "SH123456-L",
"standard_manufacturer_product_id": "GTIN 00000006"
}
]
}
]
}
}
<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
'carrier' => 'FedEx-REST',
'action' => 'createregulatoryprofile',
'params' =>
array (
'test' => true,
'key' => 'your-key-from-authenticate-request',
'regulatory_profiles' =>
array (
0 =>
array (
'regulation_code' => 'EU_DE_MINIMIS',
'product_id' => 'TSHIRT-L-001',
'product_id_type' => 'SKU',
'country_of_import' => 'FR',
'details' =>
array (
0 =>
array (
'merchant_product_id' => 'TSHIRT-L-001',
'non_standard_manufacturer_product_id' => 'SH123456-L',
'standard_manufacturer_product_id' => 'GTIN 00000006',
),
),
),
),
),
)
);
rs.request(
{'action': 'createregulatoryprofile',
'carrier': 'FedEx-REST',
'params': {'key': 'your-key-from-authenticate-request',
'regulatory_profiles': [{'country_of_import': 'FR',
'details': [{'merchant_product_id': 'TSHIRT-L-001',
'non_standard_manufacturer_product_id': 'SH123456-L',
'standard_manufacturer_product_id': 'GTIN '
'00000006'}],
'product_id': 'TSHIRT-L-001',
'product_id_type': 'SKU',
'regulation_code': 'EU_DE_MINIMIS'}],
'test': True}}
)
rs.request(
{"carrier"=>"FedEx-REST",
"action"=>"createregulatoryprofile",
"params"=>
{"test"=>true,
"key"=>"your-key-from-authenticate-request",
"regulatory_profiles"=>
[{"regulation_code"=>"EU_DE_MINIMIS",
"product_id"=>"TSHIRT-L-001",
"product_id_type"=>"SKU",
"country_of_import"=>"FR",
"details"=>
[{"merchant_product_id"=>"TSHIRT-L-001",
"non_standard_manufacturer_product_id"=>"SH123456-L",
"standard_manufacturer_product_id"=>"GTIN 00000006"}]}]}}
)
rocketshipit.request(
{
"carrier": "FedEx-REST",
"action": "createregulatoryprofile",
"params": {
"test": true,
"key": "your-key-from-authenticate-request",
"regulatory_profiles": [
{
"regulation_code": "EU_DE_MINIMIS",
"product_id": "TSHIRT-L-001",
"product_id_type": "SKU",
"country_of_import": "FR",
"details": [
{
"merchant_product_id": "TSHIRT-L-001",
"non_standard_manufacturer_product_id": "SH123456-L",
"standard_manufacturer_product_id": "GTIN 00000006"
}
]
}
]
}
}
)