PostCustomsPayment

POST /customs/{region}/payment

Register payment to Shanghai Customs

Path parameters

  • region string Required

    The region of the customs. e.g. shanghai

application/json

Body Required

Order detail

Responses

  • 200 application/json

    Success

    Hide response attributes Show response attributes object
    • code integer(int32)
    • message string
    • connectorResponses array[object]

      Debugging information about API invocation

      Hide connectorResponses attributes Show connectorResponses attributes object
    • responseTime integer(int32)

      The response time of current NomadMapping request, including sub-NomadMapping's. The time unit is millisecond. This 'responseTime' is different from the one in ApiResponseConnectorResponse, since our NomadMapping supports spawn mode, whose output will be replaced by its children's instead of its own.

    • data object
      Hide data attributes Show data attributes
      • any other return value.

      • products array[object]
        Hide products attributes Show products attributes object
        • product ID of third parties.

        • name string

          Default name, usually it's Chinese.

        • nameEn string

          English name, should be optional

        • skus array[object]

          all SKU in a product

          Hide skus attributes Show skus attributes object
        • currency string Required

          The currency used in current product, it makes sense if we declare it explicity.

          Default value is RMB.

        • massUnit string Required

          weight unit in current product.

          Default value is Kilogram.

        • timeUnit string

          time unit in current product.

        • barcode string
        • price number(float)

          The default selling price of current product.

        • rrp number(float)

          recommended retail price

        • groupBuyingPrice number(float)

          group buying price

        • netWeight number(float)

          The default net weight of current product.

        • grossWeight number(float)

          The default gross weight of current product.

        • images object

          Images in a product

          Hide images attributes Show images attributes
          • ids array[string]

            [response] The image ids of that platform.

          • urls array[string]

            [response] The image urls of that platform.

          • uploads array[string]

            [request] Upload one or more images to a specific platform via URL

        • isOnsale boolean

          if a product/sku is on sale.

        • isCombined boolean

          if a product is combined product.

          Default value is false.

        • status string

          The status of a product in a store (more like a post) , could be draft/to_check/published/deleted/revoked. This field 'status' has priority over 'is_onsale'

          Default value is draft.

        • category array[string]

          The category of current product, and the platform may or may not require fixed categories data

        • vendor string

          The name of the product vendor

        • country string

          The country of origin.

        • shelfLife number(float)

          How long could we keep current product on the shelf.

        • The time that when current product was created, and should be ISO 8601 format.

        • The time that when the last time current product was updated, and should be ISO 8601 format.

        • logistics mode of current product.

        • shippingCost number(float)

          The shipping cost of current product.

        • The days that take to ship and deliver to customer's door

        • hsCode string

          The Harmonized Commodity Description and Coding System (HS code) of the tariff nomenclature is an international standardised system of names and numbers for the classification of commodities. The HS code system is based on a 6-digit nomenclature.

        • 行邮税。Chinese version of parcel tax

        • The ingredient of current product.

        • model string

          The model of current product.

        • spec string

          The spec of current product.

        • warrantyPeriod integer(int32)

          The warranty period of current product, time unit is day

          Default value is 365.

        • CC/BC/BBC. CC for free samples, like Temple Spa free samples; BBC for perfume, like Shay & Blue; BC for other products

        • discount number(float)

          The default discount price of current product.

        • taxRate number(float)

          The default tax rate of current product.

        • brand string

          The brand name of current product

          Default value is Other.

        • storeId string

          The initial store id this product belongs to

        • The categoryId, currently required by TOF

        • components array[object]

          Components in a product

          Hide components attributes Show components attributes object
      • product object
        Hide product attributes Show product attributes
        • product ID of third parties.

        • name string

          Default name, usually it's Chinese.

        • nameEn string

          English name, should be optional

        • skus array[object]

          all SKU in a product

          Hide skus attributes Show skus attributes object
        • currency string Required

          The currency used in current product, it makes sense if we declare it explicity.

          Default value is RMB.

        • massUnit string Required

          weight unit in current product.

          Default value is Kilogram.

        • timeUnit string

          time unit in current product.

        • barcode string
        • price number(float)

          The default selling price of current product.

        • rrp number(float)

          recommended retail price

        • groupBuyingPrice number(float)

          group buying price

        • netWeight number(float)

          The default net weight of current product.

        • grossWeight number(float)

          The default gross weight of current product.

        • images object

          Images in a product

          Hide images attributes Show images attributes
          • ids array[string]

            [response] The image ids of that platform.

          • urls array[string]

            [response] The image urls of that platform.

          • uploads array[string]

            [request] Upload one or more images to a specific platform via URL

        • isOnsale boolean

          if a product/sku is on sale.

        • isCombined boolean

          if a product is combined product.

          Default value is false.

        • status string

          The status of a product in a store (more like a post) , could be draft/to_check/published/deleted/revoked. This field 'status' has priority over 'is_onsale'

          Default value is draft.

        • category array[string]

          The category of current product, and the platform may or may not require fixed categories data

        • vendor string

          The name of the product vendor

        • country string

          The country of origin.

        • shelfLife number(float)

          How long could we keep current product on the shelf.

        • The time that when current product was created, and should be ISO 8601 format.

        • The time that when the last time current product was updated, and should be ISO 8601 format.

        • logistics mode of current product.

        • shippingCost number(float)

          The shipping cost of current product.

        • The days that take to ship and deliver to customer's door

        • hsCode string

          The Harmonized Commodity Description and Coding System (HS code) of the tariff nomenclature is an international standardised system of names and numbers for the classification of commodities. The HS code system is based on a 6-digit nomenclature.

        • 行邮税。Chinese version of parcel tax

        • The ingredient of current product.

        • model string

          The model of current product.

        • spec string

          The spec of current product.

        • warrantyPeriod integer(int32)

          The warranty period of current product, time unit is day

          Default value is 365.

        • CC/BC/BBC. CC for free samples, like Temple Spa free samples; BBC for perfume, like Shay & Blue; BC for other products

        • discount number(float)

          The default discount price of current product.

        • taxRate number(float)

          The default tax rate of current product.

        • brand string

          The brand name of current product

          Default value is Other.

        • storeId string

          The initial store id this product belongs to

        • The categoryId, currently required by TOF

        • components array[object]

          Components in a product

          Hide components attributes Show components attributes object
      • orders array[object]
        Hide orders attributes Show orders attributes object
      • order object
        Hide order attributes Show order attributes
      • orderId string
  • 400 application/json

    Invalid input

    Hide response attributes Show response attributes object
    • code integer(int32)
    • message string
    • connectorResponses array[object]

      Debugging information about API invocation

      Hide connectorResponses attributes Show connectorResponses attributes object
    • responseTime integer(int32)

      The response time of current NomadMapping request, including sub-NomadMapping's. The time unit is millisecond. This 'responseTime' is different from the one in ApiResponseConnectorResponse, since our NomadMapping supports spawn mode, whose output will be replaced by its children's instead of its own.

    • data object
      Hide data attributes Show data attributes
      • any other return value.

      • products array[object]
        Hide products attributes Show products attributes object
        • product ID of third parties.

        • name string

          Default name, usually it's Chinese.

        • nameEn string

          English name, should be optional

        • skus array[object]

          all SKU in a product

          Hide skus attributes Show skus attributes object
        • currency string Required

          The currency used in current product, it makes sense if we declare it explicity.

          Default value is RMB.

        • massUnit string Required

          weight unit in current product.

          Default value is Kilogram.

        • timeUnit string

          time unit in current product.

        • barcode string
        • price number(float)

          The default selling price of current product.

        • rrp number(float)

          recommended retail price

        • groupBuyingPrice number(float)

          group buying price

        • netWeight number(float)

          The default net weight of current product.

        • grossWeight number(float)

          The default gross weight of current product.

        • images object

          Images in a product

          Hide images attributes Show images attributes
          • ids array[string]

            [response] The image ids of that platform.

          • urls array[string]

            [response] The image urls of that platform.

          • uploads array[string]

            [request] Upload one or more images to a specific platform via URL

        • isOnsale boolean

          if a product/sku is on sale.

        • isCombined boolean

          if a product is combined product.

          Default value is false.

        • status string

          The status of a product in a store (more like a post) , could be draft/to_check/published/deleted/revoked. This field 'status' has priority over 'is_onsale'

          Default value is draft.

        • category array[string]

          The category of current product, and the platform may or may not require fixed categories data

        • vendor string

          The name of the product vendor

        • country string

          The country of origin.

        • shelfLife number(float)

          How long could we keep current product on the shelf.

        • The time that when current product was created, and should be ISO 8601 format.

        • The time that when the last time current product was updated, and should be ISO 8601 format.

        • logistics mode of current product.

        • shippingCost number(float)

          The shipping cost of current product.

        • The days that take to ship and deliver to customer's door

        • hsCode string

          The Harmonized Commodity Description and Coding System (HS code) of the tariff nomenclature is an international standardised system of names and numbers for the classification of commodities. The HS code system is based on a 6-digit nomenclature.

        • 行邮税。Chinese version of parcel tax

        • The ingredient of current product.

        • model string

          The model of current product.

        • spec string

          The spec of current product.

        • warrantyPeriod integer(int32)

          The warranty period of current product, time unit is day

          Default value is 365.

        • CC/BC/BBC. CC for free samples, like Temple Spa free samples; BBC for perfume, like Shay & Blue; BC for other products

        • discount number(float)

          The default discount price of current product.

        • taxRate number(float)

          The default tax rate of current product.

        • brand string

          The brand name of current product

          Default value is Other.

        • storeId string

          The initial store id this product belongs to

        • The categoryId, currently required by TOF

        • components array[object]

          Components in a product

          Hide components attributes Show components attributes object
      • product object
        Hide product attributes Show product attributes
        • product ID of third parties.

        • name string

          Default name, usually it's Chinese.

        • nameEn string

          English name, should be optional

        • skus array[object]

          all SKU in a product

          Hide skus attributes Show skus attributes object
        • currency string Required

          The currency used in current product, it makes sense if we declare it explicity.

          Default value is RMB.

        • massUnit string Required

          weight unit in current product.

          Default value is Kilogram.

        • timeUnit string

          time unit in current product.

        • barcode string
        • price number(float)

          The default selling price of current product.

        • rrp number(float)

          recommended retail price

        • groupBuyingPrice number(float)

          group buying price

        • netWeight number(float)

          The default net weight of current product.

        • grossWeight number(float)

          The default gross weight of current product.

        • images object

          Images in a product

          Hide images attributes Show images attributes
          • ids array[string]

            [response] The image ids of that platform.

          • urls array[string]

            [response] The image urls of that platform.

          • uploads array[string]

            [request] Upload one or more images to a specific platform via URL

        • isOnsale boolean

          if a product/sku is on sale.

        • isCombined boolean

          if a product is combined product.

          Default value is false.

        • status string

          The status of a product in a store (more like a post) , could be draft/to_check/published/deleted/revoked. This field 'status' has priority over 'is_onsale'

          Default value is draft.

        • category array[string]

          The category of current product, and the platform may or may not require fixed categories data

        • vendor string

          The name of the product vendor

        • country string

          The country of origin.

        • shelfLife number(float)

          How long could we keep current product on the shelf.

        • The time that when current product was created, and should be ISO 8601 format.

        • The time that when the last time current product was updated, and should be ISO 8601 format.

        • logistics mode of current product.

        • shippingCost number(float)

          The shipping cost of current product.

        • The days that take to ship and deliver to customer's door

        • hsCode string

          The Harmonized Commodity Description and Coding System (HS code) of the tariff nomenclature is an international standardised system of names and numbers for the classification of commodities. The HS code system is based on a 6-digit nomenclature.

        • 行邮税。Chinese version of parcel tax

        • The ingredient of current product.

        • model string

          The model of current product.

        • spec string

          The spec of current product.

        • warrantyPeriod integer(int32)

          The warranty period of current product, time unit is day

          Default value is 365.

        • CC/BC/BBC. CC for free samples, like Temple Spa free samples; BBC for perfume, like Shay & Blue; BC for other products

        • discount number(float)

          The default discount price of current product.

        • taxRate number(float)

          The default tax rate of current product.

        • brand string

          The brand name of current product

          Default value is Other.

        • storeId string

          The initial store id this product belongs to

        • The categoryId, currently required by TOF

        • components array[object]

          Components in a product

          Hide components attributes Show components attributes object
      • orders array[object]
        Hide orders attributes Show orders attributes object
      • order object
        Hide order attributes Show order attributes
      • orderId string
  • 500 application/json

    Save customs information failed.

    Hide response attributes Show response attributes object
    • code integer(int32)
    • message string
    • connectorResponses array[object]

      Debugging information about API invocation

      Hide connectorResponses attributes Show connectorResponses attributes object
    • responseTime integer(int32)

      The response time of current NomadMapping request, including sub-NomadMapping's. The time unit is millisecond. This 'responseTime' is different from the one in ApiResponseConnectorResponse, since our NomadMapping supports spawn mode, whose output will be replaced by its children's instead of its own.

    • data object
      Hide data attributes Show data attributes
      • any other return value.

      • products array[object]
        Hide products attributes Show products attributes object
        • product ID of third parties.

        • name string

          Default name, usually it's Chinese.

        • nameEn string

          English name, should be optional