send("/fba/outbound/brazil/v0/shipments/{$shipmentId}", [ 'method' => 'GET', ]); } public function getShipmentDetailsAsync($shipmentId) { return $this->sendAsync("/fba/outbound/brazil/v0/shipments/{$shipmentId}", [ 'method' => 'GET', ]); } /** * Operation submitInvoice * * @param string $shipmentId The identifier for the shipment. * */ public function submitInvoice($shipmentId, $body = []) { return $this->send("/fba/outbound/brazil/v0/shipments/{$shipmentId}/invoice", [ 'method' => 'POST', 'json' => $body ]); } public function submitInvoiceAsync($shipmentId, $body = []) { return $this->sendAsync("/fba/outbound/brazil/v0/shipments/{$shipmentId}/invoice", [ 'method' => 'POST', 'json' => $body ]); } /** * Operation getInvoiceStatus * * @param string $shipmentId The shipment identifier for the shipment. * */ public function getInvoiceStatus($shipmentId) { return $this->send("/fba/outbound/brazil/v0/shipments/{$shipmentId}/invoice/status", [ 'method' => 'GET', ]); } public function getInvoiceStatusAsync($shipmentId) { return $this->sendAsync("/fba/outbound/brazil/v0/shipments/{$shipmentId}/invoice/status", [ 'method' => 'GET', ]); } }